-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (55 loc) · 2.11 KB
/
setup.py
File metadata and controls
59 lines (55 loc) · 2.11 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
59
# BSD Licence
# Copyright (c) 2012, Science & Technology Facilities Council (STFC)
# All rights reserved.
#
# See the LICENSE file in the source distribution of this software for
# the full license text.
from setuptools import setup, find_packages
import sys
import os
# Import version from the top-level package
from pyesgf import __version__
from pyesgf import __doc__ as long_description
sys.path[:0] = os.path.dirname(__file__)
reqs = [line.strip() for line in open('requirements.txt')]
docs_reqs = [line.strip() for line in open('requirements_docs.txt')]
dev_reqs = [
line.strip()
for line in open('requirements_dev.txt')
if line.strip() and not line.strip().startswith("-r ")
]
dev_reqs.extend(docs_reqs)
setup(name='esgf-pyclient',
version=__version__,
description="A library interacting with ESGF services within Python",
long_description=long_description,
long_description_content_type="text/x-rst",
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering',
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='Ag Stephens',
author_email='Ag.Stephens@stfc.ac.uk',
url='http://esgf-pyclient.readthedocs.org',
download_url='https://github.com/ESGF/esgf-pyclient',
license='BSD',
# This qualifier can be used to selectively exclude Python versions
python_requires=">=3.9.0",
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=reqs,
extras_require={
"dev": dev_reqs, # pip install ".[dev]"
},
entry_points={},)