-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.py
47 lines (43 loc) · 1.4 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from setuptools import setup, find_packages
import logging
logger = logging.getLogger(__name__)
name = 'bloch_sphere'
package_name = 'bloch_sphere'
version = '0.5.0'
try:
with open('README.md', 'r') as f:
long_desc = f.read()
except:
logger.warning('Could not open README.md. long_description will be set to None.')
long_desc = None
setup(
name = package_name,
packages = find_packages(),
entry_points = {
'console_scripts': [
'animate_bloch=bloch_sphere.animate_bloch:run_from_command_line',
'animate_bloch2=bloch_sphere.animate_bloch_compare:run_from_command_line',
]},
version = version,
description = 'Visualization tools for the qubit Bloch sphere',
long_description = long_desc,
long_description_content_type = 'text/markdown',
author = 'Casey Duckering',
#author_email = '',
url = f'https://github.com/cduck/{name}',
download_url = f'https://github.com/cduck/{name}/archive/{version}.tar.gz',
keywords = ['quantum computing', 'qubit', 'jupyter'],
classifiers = [
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'Framework :: IPython',
'Framework :: Jupyter',
],
install_requires = [
'numpy',
'drawSvg~=2.0',
'hyperbolic~=2.0',
'latextools~=0.5.0',
],
)