forked from soft-matter/trackpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (37 loc) · 1.29 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
import os
import versioneer
from setuptools import setup
try:
descr = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
except OSError:
descr = ''
# In some cases, the numpy include path is not present by default.
# Let's try to obtain it.
try:
import numpy
except ImportError:
ext_include_dirs = []
else:
ext_include_dirs = [numpy.get_include(),]
setup_parameters = dict(
name = "trackpy",
version = versioneer.get_version(),
cmdclass = versioneer.get_cmdclass(),
description = "particle-tracking toolkit",
author = "Trackpy Contributors",
author_email = "[email protected]",
url = "https://github.com/soft-matter/trackpy",
install_requires = ['numpy>=1.14', 'scipy>=1.1', 'pandas>=0.22', 'pyyaml', 'matplotlib', "looseversion>=1.0.1"],
python_requires=">=3.7",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages = ['trackpy', 'trackpy.refine', 'trackpy.linking', 'trackpy.locate_functions'],
long_description = descr,
long_description_content_type='text/markdown'
)
setup(**setup_parameters)