8000 Merge pull request #556 from sigmavirus24/truly-optional-extras · pythonthings/github3.py@52dd5db · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 52dd5db

Browse files
Merge pull request sigmavirus24#556 from sigmavirus24/truly-optional-extras
Fix up setup.* files for impending release
2 parents 84d1c45 + 1867c0e commit 52dd5db

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
[wheel]
22
universal = 1
3+
4+
[metadata]
5+
requires-dist=
6+
pyOpenSSL>=0.13; python_version<="2.7"
7+
ndg-httpsclient; python_version<="2.7"
8+
pyasn1; python_version<="2.7"

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def run_tests(self):
6868
"(http://developer.github.com/v3)"),
6969
long_description="\n\n".join([open("README.rst").read(),
7070
open("LATEST_VERSION_NOTES.rst").read()]),
71-
license=open('LICENSE').read(),
71+
license='3-clause BSD',
7272
author="Ian Cordasco",
7373
author_email="graffatcolmingov@gmail.com",
7474
url="https://github3py.readthedocs.org",
@@ -77,6 +77,7 @@ def run_tests(self):
7777
classifiers=[
7878
'Development Status :: 5 - Production/Stable',
7979
'License :: OSI Approved',
80+
'License :: OSI Approved :: BSD License',
8081
'Intended Audience :: Developers',
8182
'Programming Language :: Python',
8283
'Programming Language :: Python :: 2',
@@ -89,7 +90,7 @@ def run_tests(self):
8990
],
9091
extras_require={
9192
'test': kwargs['tests_require'],
92-
';python_version<="2.7"': SNI_requirements,
93+
'sni': SNI_requirements,
9394
},
9495
cmdclass={'test': PyTest},
9596
**kwargs

0 commit comments

Comments
 (0)
0