Fix creation of two nested test
https://stackoverflow.com/questions/17001010/how-to-run-unittest-discover-from-python-setup-py-test#comment77186568_37033551
This commit is contained in:
parent
5799f25ef8
commit
a306f79095
93
setup.py
93
setup.py
|
@ -79,49 +79,50 @@ requires.append(get_require_version('trytond'))
|
|||
tests_require = [get_require_version('proteus')]
|
||||
dependency_links = []
|
||||
|
||||
setup(name='kalenis_lims',
|
||||
version=version,
|
||||
description='Kalenis LIMS & ERP',
|
||||
long_description=read('README.md'),
|
||||
author='Kalenis',
|
||||
author_email='info@kalenislims.com',
|
||||
url='http://www.kalenislims.com/',
|
||||
download_url='https://bitbucket.org/kalenis/kalenislims',
|
||||
keywords='',
|
||||
package_dir=package_dir,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Manufacturing',
|
||||
'Intended Audience :: Science/Research',
|
||||
'Intended Audience :: Other Audience',
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: English',
|
||||
'Natural Language :: Spanish',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Office/Business',
|
||||
'Topic :: Scientific/Engineering',
|
||||
],
|
||||
license='GPL-3',
|
||||
python_requires='>=3.5',
|
||||
install_requires=requires,
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
[trytond.modules]
|
||||
%s
|
||||
""" % '\n'.join(module_entry_points),
|
||||
test_suite='setup.kalenis_test_suite',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
tests_require=tests_require,
|
||||
)
|
||||
if __name__ == '__main__':
|
||||
setup(name='kalenis_lims',
|
||||
version=version,
|
||||
description='Kalenis LIMS & ERP',
|
||||
long_description=read('README.md'),
|
||||
author='Kalenis',
|
||||
author_email='info@kalenislims.com',
|
||||
url='http://www.kalenislims.com/',
|
||||
download_url='https://bitbucket.org/kalenis/kalenislims',
|
||||
keywords='',
|
||||
package_dir=package_dir,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Manufacturing',
|
||||
'Intended Audience :: Science/Research',
|
||||
'Intended Audience :: Other Audience',
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: English',
|
||||
'Natural Language :: Spanish',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Office/Business',
|
||||
'Topic :: Scientific/Engineering',
|
||||
],
|
||||
license='GPL-3',
|
||||
python_requires='>=3.5',
|
||||
install_requires=requires,
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
[trytond.modules]
|
||||
%s
|
||||
""" % '\n'.join(module_entry_points),
|
||||
test_suite='setup.kalenis_test_suite',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
tests_require=tests_require,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue