generated from JGCRI/pytemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (43 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
43
44
45
46
47
48
49
import re
from setuptools import setup, find_packages
def readme():
"""Return the contents of the project README file."""
with open('README.md') as f:
return f.read()
version = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", open('bed/__init__.py').read(), re.M).group(1)
setup(
name='bed',
version=version,
packages=find_packages(),
url='https://github.com/JGCRI/bed',
license='BSD-2-Clause',
author='I.M. Human',
author_email='i.human@machine.domain',
description='A template for a basic Python package with CI via GitHub actions and a JOSS paper template and action',
long_description=readme(),
long_description_content_type="text/markdown",
python_requires='>=3.8.*, <4',
include_package_data=True,
install_requires=[
"numpy>=1.23",
"PyYAML>=6",
"pandas>=1.4.2",
"requests>=2.20.1",
"tqdm>=4.64.1",
"xarray>=2022.3.0",
"matplotlib>=3.5.1",
"netcdf4>=1.6.3"
],
extras_require={
'dev': [
"pytest",
"autodoc>=0.5.0",
"twine>=4.0.1",
"ipykernel>=6.15.1",
"sphinx>=4.0.2",
'sphinx-panels>=0.6.0',
'sphinx-rtd-theme>=0.5.2',
'sphinx-mathjax-offline>=0.0.1'
]
}
)