-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (29 loc) · 883 Bytes
/
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
from setuptools import dist
dist.Distribution().fetch_build_eggs(['Cython>=0.15.1', 'numpy>=1.10'])
from Cython.Build import cythonize
import warnings
from pathlib import Path
import numpy
from setuptools import setup
from setuptools import find_packages
path = Path(__file__).parent
with open(path / 'requirements.txt') as f:
lines = f.readlines()
install_requires = [
line.replace('\n', '')
for line in lines
]
setup(
name='deep-shadows',
description='a novel computational framework that enables the quantification of sunlight access at a world scale',
author_email='fabiom@gmail.com',
packages=find_packages(),
python_requires='>=3.9',
install_requires=install_requires,
setup_requires=[
'cython',
'setuptools>=18.0'
],
include_dirs=[numpy.get_include()],
# ext_modules=cythonize('cutil/functions.pyx'),
)