-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·39 lines (35 loc) · 1.53 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
#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
ghalton_module = Extension("ghalton._ghalton_wrapper",
language = "c++",
sources=["src/Halton_wrap.cxx", "src/Halton.cpp"],
# extra_compile_args=["-stdlib=libstdc++"],
# extra_link_args=['-stdlib=libstdc++']
)
version = "0.6.2"
# read the contents of README file
from os import path
import codecs
this_directory = path.abspath(path.dirname(__file__))
long_description = codecs.open(path.join(this_directory, 'README.md'), 'r', 'utf-8').read()
setup (name = "ghalton",
version = version,
packages=find_packages(),
author = "Francois-Michel De Rainville",
author_email = "[email protected]",
license = "LICENSE.txt",
description = "Generalized Halton number generator",
long_description = long_description,
long_description_content_type="text/markdown",
url='https://github.com/fmder/ghalton',
download_url = "https://github.com/fmder/ghalton/tarball/master#egg=ghalton-%s" % version,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Topic :: Scientific/Engineering',
],
ext_modules = [ghalton_module],
)