-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
68 lines (65 loc) · 2.49 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from setuptools import setup, find_packages
from bluesky import __version__
requirements = []
with open('requirements.txt') as f:
requirements = [r for r in f.read().splitlines() if not r.startswith('-')]
test_requirements = []
with open('requirements-test.txt') as f:
test_requirements = [r for r in f.read().splitlines()]
setup(
name='bluesky',
version=__version__,
license='GPLv3+',
author='Joel Dubowy',
author_email='jdubowy@gmail.com',
packages=find_packages(),
scripts=[
'bin/bsp',
'bin/bsp-run-info',
'bin/bsp-output-visualizer',
'bin/ecoregion-lookup'
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX",
"Operating System :: MacOS"
],
package_data={
# TODO: not sure how to specify package data for nested package.
# a) {'hysplit': ['bdyfiles/*.']}
# b) {'bluesky': ['hysplit/bdyfiles/*.']}
# c) {'bluesky': {'hysplit': ['bdyfiles/*.']} }
# d) some other way?
# Update: the following way seems to be the only way to work both
# via `python setup.py install` as well as via pip
'bluesky': [
'dispersers/hysplit/bdyfiles/*',
'trajectories/hysplit/bdyfiles/*',
'dispersers/vsmoke/images/*',
'ecoregion/data/*',
'fips/*'
]
},
url='https://github.com/pnwairfire/bluesky',
description='BlueSky Framework rearchitected as a pipeable collection of standalone modules.',
install_requires=requirements,
dependency_links=[
"https://pypi.airfire.org/simple/pyairfire/",
"https://pypi.airfire.org/simple/afconfig/",
"https://pypi.airfire.org/simple/afdatetime/",
"https://pypi.airfire.org/simple/afscripting/",
"https://pypi.airfire.org/simple/eflookup/",
"https://pypi.airfire.org/simple/emitcalc/",
"https://pypi.airfire.org/simple/fccsmap/",
"https://pypi.airfire.org/simple/geoutils/",
"https://pypi.airfire.org/simple/timeprofile/",
"https://pypi.airfire.org/simple/met/",
"https://pypi.airfire.org/simple/plumerise/",
"https://pypi.airfire.org/simple/blueskykml/",
"https://pypi.airfire.org/simple/apps-consume/"
],
tests_require=test_requirements
)