File: setup.py

package info (click to toggle)
python-freecontact 1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 288 kB
  • sloc: cpp: 291; python: 69; makefile: 11
file content (40 lines) | stat: -rwxr-xr-x 1,559 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/python
#   FreeContact - program to predict protein residue contacts from a sufficiently large multiple alignment
#   Copyright (C) 2013 by Laszlo Kajan, Technical University of Munich, Germany
# 
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
# 
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
# 
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.
# 
from distutils.core import setup, Extension
from glob import glob
import sys
PY3K=(sys.version_info[0]==3)

boost_py_bindings='boost_python3%d'%(sys.version_info[1]) if PY3K else 'boost_python'

setup(	name = 'python-freecontact',
    	version = '1.1',
    	author = 'Laszlo Kajan',
    	author_email = 'lkajan@rostlab.org',
    	description = 'fast protein contact predictor',
        #long_description = '',
        #download_url = '',
        license = 'GPL-3+',
    	url = 'http://rostlab.org/',
        ext_modules = [Extension(
            name = 'freecontact',
            sources = glob('src/*.cpp'),
            libraries = ['freecontact', boost_py_bindings])]
	)

# vim:et:ts=4:ai: