-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
55 lines (46 loc) · 1.75 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
#!/usr/bin/env python
# coding=utf-8
# This file is part of pyOSOAA.
#
# Copyright 2019 Francisco Nemiña
import os
from setuptools import setup
PROJECT_ROOT = os.path.dirname(__file__)
def read_file(filepath, root=PROJECT_ROOT):
"""
Return the contents of the specified `filepath`.
* `root` is the base path and it defaults to the `PROJECT_ROOT` directory.
* `filepath` should be a relative path, starting from `root`.
"""
with open(os.path.join(root, filepath)) as fd:
text = fd.read()
return text
LONG_DESCRIPTION = read_file("README.md")
SHORT_DESCRIPTION = "pyOSOAA is a python interface for the Ocean Successive"\
+ "Orders with Atmosphere - Advanced (OSOAA)"\
+ "radiative transfer."
REQS = []
setup(
name = "pyOSOAA",
packages = ['pyOSOAA'],
install_requires = REQS,
version = "1.4.post",
author = "Francisco Nemiña",
author_email = "[email protected]",
description = SHORT_DESCRIPTION,
url = "https://github.com/fnemina/pyOSOAA",
long_description = LONG_DESCRIPTION,
project_urls={
"Bug Tracker": "https://github.com/fnemina/pyOSOAA/issues",
},
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3"
],
)