Commit f74005e4 authored by Kirill Smelkov's avatar Kirill Smelkov

Modularize

Create real nxdtest module, so that things could be imported from there.
As the result switch `nxdtest` program from scripts to entry_point.
parent 2c29b2c9
# nxdtest | pythonic package setup # nxdtest | pythonic package setup
from setuptools import setup from setuptools import setup, find_packages
setup( setup(
name = 'nxdtest', name = 'nxdtest',
...@@ -12,10 +12,10 @@ setup( ...@@ -12,10 +12,10 @@ setup(
keywords = 'Nexedi testing infrastructure tool tox', keywords = 'Nexedi testing infrastructure tool tox',
packages = [], packages = find_packages(),
install_requires = ['erp5.util', 'six'], install_requires = ['erp5.util', 'six'],
scripts = ['nxdtest'], entry_points= {'console_scripts': ['nxdtest = nxdtest:main']},
classifiers = [_.strip() for _ in """\ classifiers = [_.strip() for _ in """\
Development Status :: 3 - Alpha Development Status :: 3 - Alpha
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment