hopefully fix python 2 and 3 compatability
This commit is contained in:
parent
6381f8b1ec
commit
d08f1ca586
5 changed files with 169 additions and 89 deletions
10
setup.py
10
setup.py
|
@ -1,4 +1,11 @@
|
|||
from distutils.core import setup
|
||||
from setuptools import setup
|
||||
import unittest
|
||||
|
||||
def pyaccuwage_tests():
|
||||
test_loader = unittest.TestLoader()
|
||||
test_suite = test_loader.discover('tests', pattern='test_*.py')
|
||||
return test_suite
|
||||
|
||||
setup(name='pyaccuwage',
|
||||
version='0.2018.1',
|
||||
packages=['pyaccuwage'],
|
||||
|
@ -9,4 +16,5 @@ setup(name='pyaccuwage',
|
|||
'scripts/pyaccuwage-genfieldfill'
|
||||
],
|
||||
zip_safe=True,
|
||||
test_suite='setup.pyaccuwage_tests',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue