-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
77 lines (66 loc) · 2.36 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
from setuptools import setup, find_packages
descr = """
Pyimof
======
Implementation of the popular TV-L1 algorithm and the robust iLK
method for optical flow estimation. Pyimof is provided battery
included: test data, IO and visualization tools are provided.
Please refer to the online documentation at
https://pyimof.rtfd.io/en/stable/
"""
DISTNAME = 'pyimof'
VERSION = '1.0.0'
DESCRIPTION = 'Python package for optical flow estimation'
LONG_DESCRIPTION = descr
MAINTAINER = 'Riadh Fezzani'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://pyimof.rtfd.io/en/stable/'
LICENSE = 'GPLv3'
DOWNLOAD_URL = 'https://github.com/rfezzani/pyimof/archive/master.zip'
PROJECT_URLS = {
"Bug Tracker": 'https://github.com/rfezzani/pyimof/issues',
"Documentation": 'https://pyimof.rtfd.io/en/stable/',
"Source Code": 'https://github.com/rfezzani/pyimof'
}
def parse_requirements_file(filename):
with open(filename) as fid:
requires = [l.strip() for l in fid.readlines() if l]
return requires
REQUIRES = parse_requirements_file('requirements.txt')
EXTRA_REQUIRES = {'docs': parse_requirements_file('doc/requirements.txt')}
setup(
name=DISTNAME,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
license=LICENSE,
download_url=DOWNLOAD_URL,
project_urls=PROJECT_URLS,
version=VERSION,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
],
install_requires=REQUIRES,
extras_require=EXTRA_REQUIRES,
python_requires='>=3.5',
zip_safe=False,
package_data={'': ["data/*/*.png"]},
packages=find_packages(exclude=['test', 'doc'])
)