File: setup.py

package info (click to toggle)
pyao 0.82%2Bds1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: ansic: 533; python: 22; makefile: 7
file content (31 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/env python

"""Setup script for the ao module distribution."""

from sys import version_info
try:
 from setuptools import setup, Extension
except:
 from distutils.core import setup, Extension

setup (# Distribution meta-data
        name = "pyao",
        version = "1.2",
        description = "A wrapper for the ao library",
        author = "Andrew Chatham",
        author_email = "andrew.chatham@duke.edu",
        maintainer = "Christian Schmitz",
        maintainer_email = "tynn.dev@gmail.com",
        url = "https://github.com/tynn/PyAO",
        license = 'GPLv3+',

        # Description of the modules and packages in the distribution

        ext_modules = [Extension(
                name = 'ao' if version_info.major >= 3 else 'aomodule',
                sources = ['src/aomodule.c'],
                depends = ['src/aomodule.h'],
                libraries = ["ao"]
			)]
)