/[gentoo-x86]/sci-biology/vienna-rna/files/vienna-rna-2.1.1-setup.py
Gentoo

Contents of /sci-biology/vienna-rna/files/vienna-rna-2.1.1-setup.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Feb 13 13:13:56 2013 UTC (19 months, 1 week ago) by jlec
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-python
sci-biology/vienna-rna: Version Bump; move to EAPI=5, new python eclasses; autotools-utils

(Portage version: 2.2.0_alpha162/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 from distutils.core import setup, Extension
2 import os
3 import sys
4
5 old_filename = os.path.join("Perl", "RNA.py")
6 new_filename = os.path.join("Perl", "__init__.py")
7 if os.path.exists(old_filename):
8 os.rename(old_filename, new_filename)
9
10 extra_link_args = []
11
12 extension = Extension("_RNA",
13 ["Perl/RNA_wrap.c"],
14 libraries=['RNA'],
15 library_dirs=['lib'],
16 extra_link_args=extra_link_args
17 )
18
19 setup(name="RNA",
20 version="2.1.1",
21 description="Vienna RNA",
22 author="Ivo Hofacker, Institute for Theoretical Chemistry, University of Vienna",
23 url="http://www.tbi.univie.ac.at/RNA/",
24 package_dir = {'RNA':'Perl'},
25 packages = ['RNA'],
26 ext_modules=[extension],
27 )

  ViewVC Help
Powered by ViewVC 1.1.20