Skip to content

Commit dcf0f97

Browse files
committed
fix: add pypi deployment to build
1 parent e07420b commit dcf0f97

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ deploy:
4040
python: '3.5'
4141
branch: master
4242

43-
# - provider: pypi
44-
# user: $PYPI_USER
45-
# password: $PYPI_PASSWORD
46-
# repository: https://upload.pypi.org/legacy
47-
# skip_cleanup: true
48-
# on:
49-
# python: '3.5'
50-
# tags: true
43+
- provider: pypi
44+
user: $PYPI_USER
45+
password: $PYPI_TOKEN
46+
repository: https://upload.pypi.org/legacy
47+
skip_cleanup: true
48+
on:
49+
python: '3.5'
50+
tags: true

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
__version__ = '0.1.0'
2323
PACKAGE_NAME = 'ibm_platform_services'
24-
PACKAGE_DESC = 'IBM Cloud Platform Services Python SDK client library'
24+
PACKAGE_DESC = 'Python client library for IBM Cloud Platform Services'
2525

2626
with open('requirements.txt') as f:
2727
install_requires = [str(req) for req in pkg_resources.parse_requirements(f)]
@@ -75,7 +75,7 @@ def finalize_options(self):
7575
self.test_args = ['--strict', '--verbose', '--tb=long', 'test/integration']
7676

7777

78-
setup(name=PACKAGE_NAME,
78+
setup(name=PACKAGE_NAME.replace('_', '-'),
7979
version=__version__,
8080
description=PACKAGE_DESC,
8181
license='Apache 2.0',
@@ -92,13 +92,16 @@ def finalize_options(self):
9292
classifiers=[
9393
'Programming Language :: Python',
9494
'Programming Language :: Python :: 3',
95+
'Programming Language :: Python :: 3.5',
96+
'Programming Language :: Python :: 3.6',
97+
'Programming Language :: Python :: 3.7',
98+
'Programming Language :: Python :: 3.8',
9599
'Development Status :: 4 - Beta',
96100
'Intended Audience :: Developers',
97101
'License :: OSI Approved :: Apache Software License',
98102
'Operating System :: OS Independent',
99103
'Topic :: Software Development :: Libraries :: Python Modules',
100-
'Topic :: Software Development :: Libraries :: Application '
101-
'Frameworks',
104+
'Topic :: Software Development :: Libraries :: Application Frameworks',
102105
],
103106
zip_safe=True
104107
)

0 commit comments

Comments
 (0)