-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
84 lines (73 loc) · 2.07 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
"""Analysis GUI for scanning SQUID microscopy datasets generated by the
[scanning-squid](https://github.com/moler-group/scanning-squid) python package.
"""
import os
from setuptools import find_packages, setup
DESCRIPTION = "Analysis GUI for scanning SQUID microscopy"
LONG_DESCRIPTION = __doc__
NAME = "ssm_analyze"
AUTHOR = "Logan Bishop-Van Horn"
AUTHOR_EMAIL = "logan.bvh@gmail.com"
URL = "https://github.com/loganbvh/ssm_analyze"
LICENSE = "MIT"
PYTHON_VERSION = ">=3.6"
INSTALL_REQUIRES = [
"h5py",
"ipykernel",
"ipython",
"jupyter",
"jupyter_console",
"matplotlib",
"numpy",
"pint",
"PyQt5",
"pyqtgraph",
"qcodes_loop",
"qtpy",
"scipy",
]
CLASSIFIERS = """\
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: MacOS
Operating System :: POSIX
Operating System :: Unix
Operating System :: Microsoft :: Windows
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Physics
"""
CLASSIFIERS = [line for line in CLASSIFIERS.splitlines() if line]
PLATFORMS = ["Linux", "Mac OSX", "Unix", "Windows"]
KEYWORDS = "scanning SQUID microscopy"
def package_files(directory):
paths = []
for path, directories, filenames in os.walk(directory):
for filename in filenames:
paths.append(os.path.join(os.pardir, path, filename))
return paths
setup(
name=NAME,
version="0.4.0",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license=LICENSE,
packages=find_packages(),
package_data={
"ssm_analyze": ["gui/img/icon.png"] + package_files("ssm_analyze/sample_data"),
},
include_package_data=True,
entry_points={
"console_scripts": ["ssm_analyze=ssm_analyze.gui.window:main"],
},
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
platforms=PLATFORMS,
python_requires=PYTHON_VERSION,
install_requires=INSTALL_REQUIRES,
)