Update setup.py
This commit is contained in:
parent
1dcf4826c0
commit
aea39ea122
6
setup.py
6
setup.py
@ -41,8 +41,8 @@ with open(os.path.join(here, NAME, '__version__.py')) as f:
|
|||||||
exec(f.read(), about)
|
exec(f.read(), about)
|
||||||
|
|
||||||
|
|
||||||
class PublishCommand(Command):
|
class UploadCommand(Command):
|
||||||
"""Support setup.py publish."""
|
"""Support setup.py upload."""
|
||||||
|
|
||||||
description = 'Build and publish the package.'
|
description = 'Build and publish the package.'
|
||||||
user_options = []
|
user_options = []
|
||||||
@ -110,6 +110,6 @@ setup(
|
|||||||
],
|
],
|
||||||
# $ setup.py publish support.
|
# $ setup.py publish support.
|
||||||
cmdclass={
|
cmdclass={
|
||||||
'publish': PublishCommand,
|
'upload': UploadCommand,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user