Skip to content

Commit

Permalink
Update the package metadata in setup.py (#18)
Browse files Browse the repository at this point in the history
This commit updates the package metadata prior to release. First it adds
the README.md file as the long_description to the package metadata. This
means that on pypi the README will show up on the package page. Then it
adds the project_urls field which is used to provide specific links to
the code repo and the issue tracker for the project.
  • Loading branch information
mtreinish authored May 1, 2020
1 parent 9631540 commit 9d1bd26
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
Expand Down Expand Up @@ -40,11 +40,18 @@
with open(version_path, 'r') as fd:
version = fd.read().rstrip()

README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'README.md')
with open(README_PATH) as readme_file:
README = readme_file.read()


setuptools.setup(
name="qiskit-aqt-provider",
version=version,
description="Qiskit provider for AQT backends",
long_description=README,
long_description_content_type='text/markdown',
url="https://github.com/Qiskit/qiskit-aqt-provider",
author="Qiskit Development Team",
author_email="[email protected]",
Expand All @@ -69,5 +76,9 @@
install_requires=requirements,
include_package_data=True,
python_requires=">=3.5",
project_urls={
"Bug Tracker": "https://github.com/Qiskit/qiskit-aqt-provider/issues",
"Source Code": "https://github.com/Qiskit/qiskit-aqt-provider",
},
zip_safe=False
)

0 comments on commit 9d1bd26

Please sign in to comment.