Added setup.py to allow automated testing.

Also moved the tests directory to top-level, as they shouldn't be part
of the pillar directory.
This commit is contained in:
2016-03-23 12:01:54 +01:00
parent 1769f20620
commit ebcb6bc5f8
4 changed files with 21 additions and 1 deletions

14
setup.py Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env python
"""Setup file for testing, not for packaging/distribution."""
import setuptools
setuptools.setup(
name='pillar',
version='1.0',
packages=setuptools.find_packages('pillar', exclude=['manage']),
package_dir={'': 'pillar'}, # tell setuptools packages are under src
tests_require=['pytest', 'httpretty'],
zip_safe=False,
)