Skip to content

Commit 114047e

Browse files
fix deploy
1 parent f70bf73 commit 114047e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

deploy_to_pypi.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Deploy to PyPI for both source and wheel
44
#
55
rm -Rf build/ dist/ wiremock.egg-info/ || true
6-
python setup.py sdist upload -r local || true
7-
export WHEEL_TOOL=`which wheel` && python setup.py bdist_wheel --universal upload -r local || true
6+
python3 setup.py sdist bdist_wheel
7+
python3 -m twine upload dist/*
88
rm -Rf build/ dist/ wiremock.egg-info/ || true

requirements.pip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Sphinx==2.4.3
1111
sphinx-rtd-theme==0.4.3
1212
toml==0.10.0
1313
tox==3.14.5
14+
twine==3.1.1
1415
virtualenv==20.0.5
1516
watchdog==0.10.2

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"License :: OSI Approved :: Apache Software License",
4545
"Operating System :: OS Independent",
4646
"Natural Language :: English",
47-
"Programming Language :: Python :: 2.7",
48-
"Programming Language :: Python :: 3.4",
47+
"Programming Language :: Python :: 3",
4948
"Programming Language :: Python :: Implementation",
5049
"Topic :: Internet :: WWW/HTTP",
5150
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -69,4 +68,5 @@
6968
license='Apache Software License 2.0',
7069
packages=find_packages(),
7170
include_package_data=True,
71+
python_requires='>=3.4',
7272
)

0 commit comments

Comments
 (0)