forked from PaddlePaddle/Quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (56 loc) · 2.54 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright (c) 2021 Institute for Quantum Computing, Baidu Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Install library to site-packages
"""
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name='paddle-quantum',
version='2.1.2',
author='Institute for Quantum Computing, Baidu INC.',
author_email='quantum@baidu.com',
description='Paddle Quantum is a quantum machine learning (QML) toolkit developed based on Baidu PaddlePaddle.',
long_description=long_description,
long_description_content_type="text/markdown",
url='http://qml.baidu.com',
packages=[
'paddle_quantum', 'paddle_quantum.optimizer', 'paddle_quantum.mbqc',
'paddle_quantum.GIBBS', 'paddle_quantum.GIBBS.example',
'paddle_quantum.SSVQE', 'paddle_quantum.SSVQE.example',
'paddle_quantum.VQE', 'paddle_quantum.VQE.example',
'paddle_quantum.QAOA', 'paddle_quantum.QAOA.example',
'paddle_quantum.VQSD', 'paddle_quantum.VQSD.example',
'paddle_quantum.mbqc.QAOA', 'paddle_quantum.mbqc.QAOA.example',
'paddle_quantum.mbqc.QKernel', 'paddle_quantum.mbqc.QKernel.example',
'paddle_quantum.mbqc.VQSVD', 'paddle_quantum.mbqc.VQSVD.example',
],
package_data={
'paddle_quantum.VQE': ['*.xyz'],
'paddle_quantum.VQE.example': ['*.xyz'],
'paddle_quantum.mbqc.QKernel.example': ['*.txt'],
'paddle_quantum.mbqc.VQSVD.example': ['*.txt'],
},
install_requires=['paddlepaddle>=2.1.2', 'scipy', 'networkx>=2.5', 'matplotlib>=3.3.0', 'interval', 'tqdm'],
python_requires='>=3.6, <4',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
project_urls={
'Documentation': 'https://qml.baidu.com/api/introduction.html',
'Source': 'https://github.com/PaddlePaddle/Quantum/',
'Tracker': 'https://github.com/PaddlePaddle/Quantum/issues'},)