Skip to content

Commit 6ed2721

Browse files
StrilancCirqBot
authored andcommitted
Add descriptions to setup.py (#713)
1 parent 320f1e0 commit 6ed2721

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

setup.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@
1919
__version__ = None
2020
exec(open('cirq/_version.py').read())
2121

22+
description = ('A framework for creating, editing, and invoking '
23+
'Noisy Intermediate Scale Quantum (NISQ) circuits.')
24+
2225
# Readme file as long_description:
23-
long_description = io.open('README.rst', encoding='utf-8').read()
26+
long_description = ('====\n'
27+
'Cirq\n'
28+
'====\n')
29+
stream = io.open('README.rst', encoding='utf-8')
30+
stream.readline()
31+
long_description += stream.read()
2432

2533
# Read in requirements
2634
requirements = open('runtime-requirements.txt').readlines()
@@ -39,5 +47,7 @@
3947
python_requires='>=3.5',
4048
install_requires=requirements,
4149
license='Apache 2',
50+
description=description,
51+
long_description=long_description,
4252
packages=cirq_packages,
4353
package_data={'cirq.api.google.v1': ['*.proto']})

0 commit comments

Comments
 (0)