forked from macs3-project/MACS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (53 loc) · 1.86 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
# Time-stamp: <2011-03-02 17:49:24 Tao Liu>
"""Description
Setup script for MACS -- Model Based Analysis for ChIP-Seq data
Copyright (c) 2008,2009,2010 Tao Liu <[email protected]>
This code is free software; you can redistribute it and/or modify it
under the terms of the Artistic License (see the file COPYING included
with the distribution).
@status: beta
@version: $Revision$
@author: Tao Liu
@contact: [email protected]
"""
import os
import sys
from distutils.core import setup, Extension
try:
import py2exe
except ImportError:
pass
try:
import py2app
except ImportError:
pass
def main():
if float(sys.version[:3])<2.6 or float(sys.version[:3])>=2.8:
sys.stderr.write("CRITICAL: Python version must be 2.6 or 2.7!\n")
sys.exit(1)
setup(name="MACS",
version="1.4",
description="Model Based Analysis for ChIP-Seq data",
author='Yong Zhang; Tao (Foo) Liu',
author_email='[email protected]; [email protected]',
url='http://liulab.dfci.harvard.edu/MACS/',
package_dir={'MACS14' : 'lib'},
packages=['MACS14', 'MACS14.IO'],
scripts=['bin/macs14','bin/elandmulti2bed','bin/elandresult2bed','bin/elandexport2bed',
'bin/sam2bed','bin/wignorm'],
console=['bin/macs14'],
app =['bin/macs14'],
classifiers=[
'Development Status :: 4 - experimental',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Artistic License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
],
)
if __name__ == '__main__':
main()