-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (43 loc) · 1.43 KB
/
setup.py
File metadata and controls
48 lines (43 loc) · 1.43 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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup, find_packages
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('rastro/__init__.py').read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_description = f.read().decode("utf-8")
setup(
name = "rastro",
packages = find_packages(),
entry_points = {
"console_scripts": ['rastro = rastro.cli:main']
},
version = version,
description = "Python tools for astronomical Raw image conversion and analysis using rawpy and libraw",
long_description = long_description,
long_description_content_type="text/markdown",
author = "Sam Nelson",
author_email = "sanelson@siliconfuture.net",
url = "https://github.com/sanelson/rastro",
install_requires=[
'numpy', 'tiffile', 'matplotlib', 'rawpy', 'numba', 'astropy', 'py3exiv2', 'scikit-image'
],
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Environment :: Console",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Scientific/Engineering :: Astronomy"
],
project_urls={
'Source Code': 'https://github.com/sanelson/rastro',
'Bug Tracker': 'https://github.com/sanelson/rastro/issues',
},
python_requires='>=3.7',
zip_safe=False,
)