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:
14
setup.py
Normal file
14
setup.py
Normal 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,
|
||||
)
|
Reference in New Issue
Block a user