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',
packages=['pyactiveresource'],
- package_dir={'pyactiveresource':'src'},
license='MIT License',
platforms=['any'],
classifiers=['Development Status :: 5 - Production/Stable',