/
setup.py
41 lines (36 loc) · 1.05 KB
/
setup.py
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
from setuptools import setup, find_packages
from os import path
import re
import io
VERSION = re.search(
"VERSION = '([^']+)'",
io.open(
path.join(path.dirname(__file__), 'cairocffi', '__init__.py'),
encoding='utf-8',
).read().strip()
).group(1)
LONG_DESCRIPTION = io.open(
path.join(path.dirname(__file__), 'README.rst'),
encoding='utf-8',
).read()
setup(
name='cairocffi',
version=VERSION,
url='https://github.com/SimonSapin/cairocffi',
license='BSD',
author='Simon Sapin',
author_email='simon.sapin@exyr.org',
description='cffi-based cairo bindings for Python',
long_description=LONG_DESCRIPTION,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Graphics',
],
packages=find_packages(),
install_requires=['cffi>=0.6'],
extras_require={'xcb': ['xcffib']}
)