mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
fix setup.py definition
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/local/bin/xonsh
|
#!/usr/local/bin/xonsh
|
||||||
|
|
||||||
python setup.py sdist
|
try:
|
||||||
|
pip install wheel
|
||||||
|
python setup.py sdist bdist_wheel --universal
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
|
finally:
|
||||||
|
rm -rf dist/ build/
|
||||||
10
setup.py
10
setup.py
@@ -31,12 +31,12 @@ if sys.version_info[:2] < (3, 7):
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="django-stubs",
|
name="django-stubs",
|
||||||
version="0.5.0",
|
version="0.5.1",
|
||||||
description='Django mypy stubs',
|
description='Django mypy stubs',
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
license='BSD',
|
license='MIT',
|
||||||
url="https://github.com/mkurnikov/django-stubs.git",
|
url="https://github.com/mkurnikov/django-stubs",
|
||||||
author="Maksim Kurnikov",
|
author="Maksim Kurnikov",
|
||||||
author_email="maxim.kurnikov@gmail.com",
|
author_email="maxim.kurnikov@gmail.com",
|
||||||
py_modules=[],
|
py_modules=[],
|
||||||
@@ -46,6 +46,8 @@ setup(
|
|||||||
package_data={'django-stubs': find_stub_files('django-stubs')},
|
package_data={'django-stubs': find_stub_files('django-stubs')},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 3 - Alpha',
|
||||||
'Programming Language :: Python :: 3'
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Programming Language :: Python :: 3.6',
|
||||||
|
'Programming Language :: Python :: 3.7'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user