Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
53 lines (45 loc) · 1.3 KB

File metadata and controls

53 lines (45 loc) · 1.3 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
from distutils.core import setup
from setuptools import find_packages
from Cython.Build import cythonize
import numpy
import glob
extensions = glob.glob("torchqtm/_C/*.pyx")
install_requires = [
'numpy',
'pandas',
'pandas_market_calendars',
'cython',
]
def main():
setup(
ext_modules=cythonize(extensions, language='c++'),
include_dirs=[numpy.get_include()],
name="torchqtm",
version="0.1.0",
author="ny",
author_email="nymath@163.com",
install_requires=install_requires,
description="None",
long_description=open('README.md', 'r').read(),
long_description_content_type="text/markdown",
url="https://github.com/nymath/torchquantum/tree/main",
download_url="https://github.com/nymath/torchquantum/releases/tag/",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
],
python_requires='>=3.6',
)
if __name__ == "__main__":
main()
## setup cython
# python setup.py build_ext --inplace
## setup package
# pip install twine
# python setup.py sdist bdist_wheel
# twine upload dist/*
# twine upload --skip-existing dist/*
# ny.math
# xxx
Morty Proxy This is a proxified and sanitized view of the page, visit original site.