-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (49 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
47
48
49
50
51
# All .ui files and .so files are added through keyword: package_data, because setuptools doesn't include them automatically.
import sys
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name = "xfntr-win",
version = "0.3.0",
author = "Zhu Liang",
author_email = "[email protected]",
description = "A software that analyzes xfntr data",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/zhul9311/XFNTR-win.git",
packages = find_packages(),
package_dir = {'':'.'},
package_data = {
'' : ['xr_ref.cpython-37m-darwin.so',
'GUI/*',
'images/*',
'test/*']
},
exclude_package_data = {
'' : ['.git/','.setup.py.swp']
},
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires = '>=3.6',
install_requires = [
'pyqt5',
'scipy',
'matplotlib',
'lmfit',
'periodictable',
'numba'
],
entry_points = { # create scripts and add to sys.PATH
'console_scripts':[
'xfntr1 = xfntr.main:main'
],
'gui_scripts': [
'xfntr = xfntr.main:main'
]
},
)