-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (48 loc) · 1.73 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (48 loc) · 1.73 KB
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
#!/usr/bin/env python
"""The setup script."""
import os
from ast import parse
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
name = 'pnp_mace'
# See http://stackoverflow.com/questions/2058802
with open(os.path.join(name, '__init__.py')) as f:
version = parse(next(filter(
lambda line: line.startswith('__version__'),
f))).body[0].value.s
requirements = ['numpy', 'matplotlib', 'requests', 'dotmap', 'Pillow', 'bm3d']
setup_requirements = []
test_requirements = ['pytest', 'pytest-runner']
setup(
author="Gregery T. Buzzard",
author_email='buzzard@purdue.edu',
python_requires='>=3.5',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
description="Demonstrations of the PnP algorithm and MACE framework on simple image reconstruction problems. ",
install_requires=requirements,
license="BSD license",
long_description=readme + '\n\n',
include_package_data=True,
keywords='pnp_mace',
name=name,
packages=find_packages(include=['pnp_mace', 'pnp_mace.*']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/gbuzzard/PnP-MACE',
version=version,
zip_safe=False,
)