-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·42 lines (38 loc) · 1.66 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
40
41
42
#!/usr/bin/env python
from setuptools import setup, Extension, find_packages
from distutils import sysconfig
import subprocess
import glob
import sys
srcs = [x for x in
glob.glob("lib2bit/*.c")]
srcs.append("py2bit.c")
additional_libs = [sysconfig.get_config_var("LIBDIR"), sysconfig.get_config_var("LIBPL")]
module1 = Extension('py2bit',
sources = srcs,
library_dirs = additional_libs,
include_dirs = ['lib2bit', sysconfig.get_config_var("INCLUDEPY")])
setup(name = 'py2bit',
version = '0.3.2',
description = 'A package for accessing 2bit files using lib2bit',
author = "Devon P. Ryan",
author_email = "[email protected]",
url = "https://github.com/deeptools/py2bit",
license = "MIT",
download_url = "https://github.com/deeptools/py2bit",
keywords = ["bioinformatics", "2bit"],
classifier = ["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"],
packages = find_packages(),
include_package_data=True,
ext_modules = [module1])