Renaming "src" directory to "pyactiveresource"

20 views
Skip to first unread message

Dylan Smith

unread,
Apr 21, 2012, 10:41:00 PM4/21/12
to pyactiveresource
With this change, the following will work at the top level of the project.

    $ PYTHONPATH=. python pyactiveresource/tests/alltests.py

    $ python
    >>> import pyactiveresource

Currently I am using a symlink to make the above work.

    $ ln -s src pyactiveresource

However, just renaming the "src" directory would make using the library in development more intuitive.

This will also require removing package_dir in setup.py for distribution:

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,6 @@ setup(name='pyactiveresource',
       author_email='m...@superjared.com',
       packages=['pyactiveresource'],
-      package_dir={'pyactiveresource':'src'},
       license='MIT License',
       platforms=['any'],
       classifiers=['Development Status :: 5 - Production/Stable',
Reply all
Reply to author
Forward
0 new messages