]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libucl/python/setup.py
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / libucl / python / setup.py
1 try:
2     from setuptools import setup, Extension
3 except ImportError:
4     from distutils.core import setup, Extension
5
6 import os
7 import sys
8
9 tests_require = []
10
11 if sys.version < '2.7':
12     tests_require.append('unittest2')
13
14 uclmodule = Extension(
15     'ucl',
16     libraries = ['ucl'],
17     sources = ['src/uclmodule.c'],
18     language = 'c'
19 )
20
21 setup(
22     name = 'ucl',
23     version = '0.8',
24     description = 'ucl parser and emmitter',
25     ext_modules = [uclmodule],
26     test_suite = 'tests',
27     tests_require = tests_require,
28     author = "Eitan Adler, Denis Volpato Martins",
29     author_email = "lists@eitanadler.com",
30     url = "https://github.com/vstakhov/libucl/",
31     license = "MIT",
32     classifiers = [
33         "Development Status :: 3 - Alpha",
34         "Intended Audience :: Developers",
35         "License :: DFSG approved",
36         "License :: OSI Approved :: MIT License",
37         "Programming Language :: C",
38         "Programming Language :: Python :: 2",
39         "Programming Language :: Python :: 3",
40         "Programming Language :: Python :: Implementation :: CPython",
41         "Topic :: Software Development :: Libraries",
42     ]
43 )