-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from CLIMB-TRE/development
Updated setup.py with more metadata about the client
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "2.3.0" | ||
__version__ = "2.3.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
import setuptools | ||
|
||
exec(open("onyx/version.py").read()) | ||
with open("onyx/version.py") as version_file: | ||
version = version_file.read().split('"')[1] | ||
assert len(version.split(".")) == 3 | ||
|
||
with open("README.md") as readme_file: | ||
long_description = readme_file.read() | ||
|
||
setuptools.setup( | ||
name="climb-onyx-client", | ||
version=version, | ||
author="Thomas Brier", | ||
version=__version__, # type: ignore | ||
long_description=open("README.md").read(), | ||
author_email="[email protected]", | ||
description="Client program for interacting with Onyx.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/CLIMB-TRE/onyx-client", | ||
packages=setuptools.find_packages(), | ||
entry_points={"console_scripts": "onyx = onyx.cli:main"}, | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
], | ||
install_requires=[ | ||
"requests", | ||
"typer>=0.6.0", | ||
|