Skip to content

Commit

Permalink
Merge pull request #46 from CLIMB-TRE/development
Browse files Browse the repository at this point in the history
Updated setup.py with more metadata about the client
  • Loading branch information
tombch authored Nov 23, 2023
2 parents ccd7392 + 7484ca5 commit d262f17
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion onyx/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.3.0"
__version__ = "2.3.1"
19 changes: 16 additions & 3 deletions setup.py
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",
Expand Down

0 comments on commit d262f17

Please sign in to comment.