-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (35 loc) · 1.28 KB
/
setup.py
File metadata and controls
41 lines (35 loc) · 1.28 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
"""Module installation function.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Parse requirements file.
# TODO: Consider better alternatives if distributed
with open(here / 'requirements.txt', 'r') as fh:
required = fh.read().splitlines()
# Get the long description from the README file
with open(here / 'README.md', 'r') as fh:
long_description = fh.read()
setup(name='mercap',
version='1.0.0',
description='Martian Examination for Climate Patterns',
long_description=long_description,
long_description_content_type='text/markdown',
author='Mark Wronkiewicz',
author_email='',
python_requires='>=3.9, <4',
packages=find_packages(),
include_package_data=True,
install_requires=required,
entry_points={
'console_scripts': [
'parse_mdad = mercap.parse_mdad:cli',
'extract_climate_measurements = mercap.cli_funcs:extract_climate_measurements',
],
},
project_urls={'Source': 'https://github.jpl.nasa.gov/Martian-Climate/mercap'}
)