mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 15:00:18 +00:00
Update setup.py
This commit is contained in:
@@ -41,8 +41,8 @@ with open(os.path.join(here, NAME, '__version__.py')) as f:
|
||||
exec(f.read(), about)
|
||||
|
||||
|
||||
class PublishCommand(Command):
|
||||
"""Support setup.py publish."""
|
||||
class UploadCommand(Command):
|
||||
"""Support setup.py upload."""
|
||||
|
||||
description = 'Build and publish the package.'
|
||||
user_options = []
|
||||
@@ -110,6 +110,6 @@ setup(
|
||||
],
|
||||
# $ setup.py publish support.
|
||||
cmdclass={
|
||||
'publish': PublishCommand,
|
||||
'upload': UploadCommand,
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user