summaryrefslogtreecommitdiffstats
path: root/contrib/libucl/python/setup.py
blob: 9e1151a1323aa8c73581ccdc3e91278a6e2b93d0 (plain)
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
try:
    from setuptools import setup, Extension
except ImportError:
    from distutils.core import setup, Extension

import os
import sys

tests_require = []

if sys.version < '2.7':
    tests_require.append('unittest2')

uclmodule = Extension(
    'ucl',
    libraries = ['ucl'],
    sources = ['src/uclmodule.c'],
    language = 'c'
)

setup(
    name = 'ucl',
    version = '0.8',
    description = 'ucl parser and emmitter',
    ext_modules = [uclmodule],
    test_suite = 'tests',
    tests_require = tests_require,
    author = "Eitan Adler, Denis Volpato Martins",
    author_email = "lists@eitanadler.com",
    url = "https://github.com/vstakhov/libucl/",
    license = "MIT",
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: DFSG approved",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: C",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: Implementation :: CPython",
        "Topic :: Software Development :: Libraries",
    ]
)
OpenPOWER on IntegriCloud