-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (22 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
import setuptools
import numpy.distutils.core as core
import sys
import numpy.distutils
compiler = numpy.distutils.ccompiler.get_default_compiler()
for arg in sys.argv:
if arg.startswith('--compiler'):
compiler = arg.split('=')[1]
from distutils.core import setup
from distutils.extension import Extension
# from Cython.Build import cythonize
# from Cython.Distutils import build_ext
import numpy as np
__version__ = open("demography/_version.py").readlines()[-1].split()[-1].strip("\"'")
numpy.distutils.core.setup(name='demography',
version=__version__,
author='Aaron Ragsdale',
author_email='[email protected]',
url='',
packages=['demography'],
license='BSD'
)