-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (31 loc) · 1.14 KB
/
setup.py
File metadata and controls
35 lines (31 loc) · 1.14 KB
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
from distutils.core import setup, Command
from distutils.extension import Extension
import setuptools, platform, os
if platform.system() == "Darwin":
from distutils import sysconfig
vars = sysconfig.get_config_vars()
vars["LDSHARED"] == vars["LDSHARED"].replace("-bundle", "-dynamicLib")
os.environ["CC"] = "clang"
os.environ["CCX"] = "clang"
# Changed because /lzc not cross-platform compatible
liblzc = Extension("lzc", sources=["lzc/lzc.c"])
setup(
name="complexity",
version="0.2.0",
description="Python implementation of sequence complexity measures",
author="Kyra Kadhim, Kevin Brown",
author_email="kadhimk@oregonstate.edu",
packages=["complexity", "complexity.lzc", "complexity.ncd"],
package_dir={"complexity": ""},
ext_package="complexity",
ext_modules=[liblzc],
license="BSD-3",
classifiers=[
"License :: OSI Approved :: BSD-3 License",
"Intended Audience :: Developers",
"Intended Audience :: Scientists",
"Programming Language :: Python",
"Topic :: Dynamical Systems",
"Topic :: Statistics",
],
)