diff --git a/setup.py b/setup.py index 8a8ee44..bda03ff 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,9 @@ -from distutils.core import setup +from setuptools import setup import codecs with codecs.open('README.rst', encoding='utf-8') as file: long_description = file.read() - setup( name='stdeb', # Keep version in sync with stdeb/__init__.py and install section @@ -17,6 +16,8 @@ license='MIT', url='http://github.com/astraw/stdeb', packages=['stdeb', 'stdeb.command'], + entry_points={'distutils.commands': ["%(cmd)s = stdeb.command.%(cmd)s:%(cmd)s" % {'cmd': x} + for x in ('bdist_deb', 'debianize', 'install_deb', 'sdist_dsc', )], }, scripts=[ 'scripts/py2dsc', 'scripts/py2dsc-deb',