|
| 1 | +# To upload to PyPi, find the directions here https://packaging.python.org/tutorials/packaging-projects/ |
| 2 | + |
| 3 | + |
| 4 | +import sys |
1 | 5 | from setuptools import setup
|
2 | 6 |
|
3 | 7 | install_requires = [
|
|
10 | 14 | else:
|
11 | 15 | install_requires.append('python-ntlm3')
|
12 | 16 |
|
| 17 | +# get our long description from the README.md |
| 18 | +with open("README.md", "r") as f: |
| 19 | + long_description = f.read() |
| 20 | + |
13 | 21 | setup(
|
14 | 22 | name = "v1pysdk",
|
15 |
| - version = "0.5", |
| 23 | + version = "0.5.0", |
16 | 24 | description = "VersionOne API client",
|
17 | 25 | author = "Joe Koberg (VersionOne, Inc.)",
|
18 | 26 | author_email = "[email protected]",
|
| 27 | + long_description = long_description, |
| 28 | + long_description_content_type = "text/markdown", |
19 | 29 | license = "MIT/BSD",
|
20 | 30 | keywords = "versionone v1 api sdk",
|
21 | 31 | url = "http://github.com/mtalexan/VersionOne.SDK.Python.git",
|
| 32 | + project_urls={ |
| 33 | + 'Documentation': 'http://github.com/mtalexan/VersionOne.SDK.Python.git', |
| 34 | + 'Source' : 'http://github.com/mtalexan/VersionOne.SDK.Python.git', |
| 35 | + 'Tracker' : 'http://github.com/mtalexan/VersionOne.SDK.Python.git/issues', |
| 36 | + }, |
22 | 37 |
|
23 | 38 | packages = [
|
24 | 39 | 'v1pysdk',
|
25 | 40 | ],
|
26 | 41 | include_package_data=True,
|
27 | 42 | install_requires = installation_requirements,
|
28 | 43 |
|
| 44 | + classifiers=( |
| 45 | + "Development Status :: 4 - Beta", |
| 46 | + "Intended Audience :: Developers", |
| 47 | + "License :: OSI Approved :: MIT License", |
| 48 | + "License :: OSI Approved :: BSD License", |
| 49 | + "Operating System :: OS Independent", |
| 50 | + "Programming Language :: Python :: 2", |
| 51 | + "Programming Language :: Python :: 2.7", |
| 52 | + "Programming Language :: Python :: 3", |
| 53 | + "Programming Language :: Python :: 3.5", |
| 54 | + "Topic :: Software Development :: Bug Tracking", |
| 55 | + ), |
| 56 | + |
| 57 | + # it may work on others, but this is what has had basic testing |
| 58 | + python_requires='>=2.5, <4', |
| 59 | + |
| 60 | + install_requires = install_requires, |
| 61 | + |
29 | 62 | tests_require = [
|
30 |
| - 'testtools', |
| 63 | + 'testtools' |
31 | 64 | ],
|
32 | 65 |
|
33 | 66 | test_suite = "v1pysdk.tests",
|
34 | 67 |
|
35 | 68 | )
|
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +>>>>>>> updated setup.py and package __init__ to support PyPi upload |
| 75 | + |
| 76 | + test_suite = "v1pysdk.tests", |
| 77 | + |
| 78 | +) |
0 commit comments