|
9 | 9 | # agreement to the Shotgun Pipeline Toolkit Source Code License. All rights |
10 | 10 | # not expressly granted therein are reserved by Shotgun Software Inc. |
11 | 11 |
|
12 | | -import sys |
13 | 12 | from setuptools import setup, find_packages |
| 13 | +from pathlib import Path |
14 | 14 |
|
15 | | - |
16 | | -f = open('README.md') |
17 | | -readme = f.read().strip() |
18 | | - |
19 | | -f = open('LICENSE') |
20 | | -license = f.read().strip() |
21 | | - |
22 | | -script_args = sys.argv[1:] |
| 15 | +this_directory = Path(__file__).parent |
| 16 | +long_description = (this_directory / "README.md").read_text(encoding="utf-8") |
23 | 17 |
|
24 | 18 | setup( |
25 | 19 | name='shotgun_api3', |
26 | 20 | version='3.8.0', |
27 | 21 | description='Flow Production Tracking Python API', |
28 | | - long_description=readme, |
| 22 | + long_description=long_description, |
| 23 | + long_description_content_type="text/markdown", |
29 | 24 | author='Autodesk', |
30 | | - author_email='https://www.autodesk.com/support/contact-support', |
| 25 | + author_email='https://developer.shotgridsoftware.com', |
31 | 26 | url='https://github.com/shotgunsoftware/python-api', |
32 | | - license=license, |
| 27 | + license="Proprietary", |
33 | 28 | packages=find_packages(exclude=('tests',)), |
34 | | - script_args=script_args, |
35 | 29 | include_package_data=True, |
36 | 30 | package_data={'': ['cacerts.txt', 'cacert.pem']}, |
37 | 31 | zip_safe=False, |
38 | 32 | python_requires=">=3.7.0", |
39 | | - classifiers=[ |
40 | | - "Development Status :: 5 - Production/Stable", |
41 | | - "Intended Audience :: Developers", |
42 | | - "Programming Language :: Python", |
43 | | - "Programming Language :: Python :: 3.7", |
44 | | - "Programming Language :: Python :: 3.9", |
45 | | - "Programming Language :: Python :: 3.10", |
46 | | - "Programming Language :: Python :: 3.11", |
47 | | - "Operating System :: OS Independent", |
48 | | - ], |
49 | 33 | install_requires=[ |
50 | 34 | 'httplib2>=0.19.1', |
51 | 35 | 'certifi>=2022.12.7', |
|
0 commit comments