Skip to content

Commit 64eedae

Browse files
committed
cleanup setup
1 parent 6441840 commit 64eedae

3 files changed

Lines changed: 9 additions & 7131 deletions

File tree

setup.py

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,27 @@
99
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
1010
# not expressly granted therein are reserved by Shotgun Software Inc.
1111

12-
import sys
1312
from setuptools import setup, find_packages
13+
from pathlib import Path
1414

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")
2317

2418
setup(
2519
name='shotgun_api3',
2620
version='3.8.0',
2721
description='Flow Production Tracking Python API',
28-
long_description=readme,
22+
long_description=long_description,
23+
long_description_content_type="text/markdown",
2924
author='Autodesk',
30-
author_email='https://www.autodesk.com/support/contact-support',
25+
author_email='https://developer.shotgridsoftware.com',
3126
url='https://github.com/shotgunsoftware/python-api',
32-
license=license,
27+
license="Proprietary",
3328
packages=find_packages(exclude=('tests',)),
34-
script_args=script_args,
3529
include_package_data=True,
3630
package_data={'': ['cacerts.txt', 'cacert.pem']},
3731
zip_safe=False,
3832
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-
],
4933
install_requires=[
5034
'httplib2>=0.19.1',
5135
'certifi>=2022.12.7',

0 commit comments

Comments
 (0)