-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
43 lines (40 loc) · 1.09 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
import setuptools
from os import path
from distutils.core import setup
root = path.abspath(path.dirname(__file__))
with open(path.join(root, 'README.md'), encoding="utf-8") as f:
long_description = f.read()
with open("README.md", "r") as fh:
long_description = fh.read()
exec(open("airxd/version.py").read())
setup(
name='airxd',
version=__version__,
description='ML application for 2D XRD data',
long_description=long_description,
long_description_content_type="text/markdown",
packages=["airxd"],
package_data={
"airxd": ["*.cpp"],
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
],
install_requires=[
'cffi>=1.15.1',
'numpy==1.21.6',
'scipy==1.7.3',
'matplotlib==3.5.2',
'scikit-learn==1.0.2',
'imageio==2.19.3',
'xgboost==1.6.1',
'notebook==6.4.12',
'opencv-python==4.6.0.66',
],
python_requires=">=3.7.9",
setup_requires=['cffi>=1.15.1'],
cffi_modules=[
"airxd/builder.py:ffibuilder"
]
)