-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
33 lines (28 loc) · 1.11 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
from skbuild import setup
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open("CMakeLists.txt",'r') as fil:
lines = fil.readlines()
for line in lines:
if line.startswith("project(Photochem"):
version = line.split('"')[1]
break
setup(
name="photochem",
packages=['photochem','photochem.utils','photochem.extensions'],
python_requires='>=3.6',
version=version,
license="GNU General Public License v3.0",
install_requires=['numpy','scipy','pyyaml', 'numba', 'h5py', 'astropy', 'threadpoolctl'],
author='Nicholas Wogan',
author_email = '[email protected]',
description = "Photochemical model of planet's atmospheres.",
long_description=long_description,
long_description_content_type='text/markdown',
url = "https://github.com/Nicholaswogan/Photochem",
cmake_args=['-DBUILD_PYTHON_PHOTOCHEM=ON',\
'-DBUILD_EXECUTABLES=OFF',\
'-DBUILD_WITH_OPENMP=ON']
)