diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b7e4789 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[aliases] +test=pytest diff --git a/setup.py b/setup.py index f807b3e..db971ae 100644 --- a/setup.py +++ b/setup.py @@ -2,18 +2,19 @@ from setuptools import setup setup( - name="dzonegit", - version="0.1", - description="Git hooks to admin DNS zone files in git", - author="Ondřej Caletka", - author_email="ondrej@caletka.cz", - license="MIT", - py_modules=["dzonegit"], - entry_points={ + name="dzonegit", + version="0.1", + description="Git hooks to admin DNS zone files in git", + author="Ondřej Caletka", + author_email="ondrej@caletka.cz", + license="MIT", + py_modules=["dzonegit"], + setup_requires=['pytest-runner', ], + tests_require=['pytest', ], + entry_points={ "console_scripts": [ "dzonegit = dzonegit:main", "pre-commit = dzonegit:pre_commit", - ], - }, + ], + }, ) -