Skip to content

Commit

Permalink
Merge pull request #2 from ionelmc/master
Browse files Browse the repository at this point in the history
catch my fork up with ionel's
  • Loading branch information
maphew authored Feb 7, 2019
2 parents 874058c + b00781d commit 86ce8c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ imported into *setup.py* so that it can be passed as a keyword parameter

import setuptools
try:
from setupext import janitor
from setupext_janitor import janitor
CleanCommand = janitor.CleanCommand
except ImportError:
CleanCommand = None
Expand All @@ -49,8 +49,13 @@ imported into *setup.py* so that it can be passed as a keyword parameter

setup(
# normal parameters
setup_requires=['setupext.janitor'],
setup_requires=['setupext_janitor'],
cmdclass=cmd_classes,
entry_points={
# normal parameters, ie. console_scripts[]
'distutils.commands': [
' clean = setupext_janitor.janitor:CleanCommand']
}
)

You can use a different approach if you are simply a developer that wants
Expand Down

0 comments on commit 86ce8c6

Please sign in to comment.