-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (41 loc) · 1.49 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
42
43
44
45
46
47
48
49
# coding: utf-8
# python-gegl installer
# Author: João S. O. Bueno
import sys
from distutils.core import setup
if "install" in sys.argv:
try:
from gi.repository import Gegl
except ImportError:
import sys
sys.stderr.write("""\
gobject introspection enabled GEGL not installed on this system -
this package won't work as is.
Ensure you have installed:
pygobject,
a recent GEGL build with gobject introspection installed
Package not installed!
\n""")
sys.exit(1)
with open('README') as file:
long_description = file.read()
setup(name = 'python-gegl',
version = '0.2.1',
author = 'João S. O. Bueno',
author_email = 'gwidion@gmail.com',
url = 'https://github.com/jsbueno/python-gegl',
description = "Wrappers to simplify GEGL usage with python",
packages = ['gegl'],
long_description = long_description,
download_url = 'https://github.com/jsbueno/python-gegl/releases/download/v0.2/v0.2.tar.gz',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Topic :: Multimedia :: Graphics',
'Topic :: Software Development :: Libraries',
'Topic :: Printing',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
],
license = "LGPL v3"
)