diff --git a/pyproject.toml b/pyproject.toml index 18d200e..f7e5fd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [tool.poetry] name = "shipengine" version = "0.0.0" -description = "A Python library for ShipEngine." +description = "The official Python library for ShipEngine API." readme = "README.md" -authors = ["KaseyCantu "] -homepage = "https://github.com/ShipEngine/shipengine-python" +authors = ["ShipEngine "] +homepage = "https://www.shipengine.com/" license = "Apache-2.0" repository = "https://github.com/ShipEngine/shipengine-python" include = ["CHANGELOG.md"] diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..48edeaa --- /dev/null +++ b/setup.py @@ -0,0 +1,46 @@ +import os + +from setuptools import find_packages, setup + +here = os.path.abspath(os.path.dirname(__file__)) + +os.chdir(here) + +version_contents = {} +with open(os.path.join(here, "shipengine", "version.py"), encoding="utf-8") as f: + exec(f.read(), version_contents) + +setup( + name="shipengine", + version=version_contents["__version__"], + description="The official Python library for ShipEngine API.", + author="ShipEngine", + author_email="support@shipengine.com", + url="https://www.shipengine.com/", + packages=find_packages(exclude=["tests", "tests.*"]), + include_package_data=True, + license="Apache 2", + install_requires=[ + "requests >= 2.21.0, <= 2.26.0", + ], + project_urls={ + "Bug Tracker": "https://github.com/ShipEngine/shipengine-python/issues", + "Documentation": "https://github.com/ShipEngine/shipengine-python/tree/main/docs", + "Source Code": "https://github.com/ShipEngine/shipengine-python", + }, + test_suite="./tests", + tests_require=["pytest", "responses"], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: Implementation :: PyPy", + "Topic :: Software Development :: Libraries :: Python Modules", + ], +) diff --git a/version.py b/shipengine/version.py similarity index 100% rename from version.py rename to shipengine/version.py