root/tags/0.4.2/setup.py

Revision 134, 1.6 kB (checked in by lgs, 4 years ago)

I think it was SElinux

Line 
1# Copyright (c) 2007-2008 by Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com>
2#
3# This file is part of PyCha.
4#
5# PyCha is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# PyCha is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with PyCha.  If not, see <http://www.gnu.org/licenses/>.
17
18import os
19from setuptools import setup
20
21from pycha import version
22
23def read(*rnames):
24    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
25
26setup(
27    name="pycha",
28    version=version,
29    author="Lorenzo Gil Sanchez",
30    author_email="lorenzo.gil.sanchez@gmail.com",
31    description="A library for making charts with Python",
32    long_description=(
33        read('README.txt')
34        + '\n\n' +
35        read('CHANGES.txt')
36    ),
37    license="LGPL 3",
38    keywords="chart cairo",
39    packages=['pycha', 'chavier'],
40    url='http://www.lorenzogil.com/projects/pycha/',
41    # if would be nice if pycairo would have an egg (sigh)
42#    install_requires = [
43#        'pycairo',
44#    ],
45    zip_safe=True,
46    entry_points={
47        'gui_scripts': [
48            'chavier = chavier.app:main',
49        ]
50    },
51    test_suite="tests",
52)
Note: See TracBrowser for help on using the browser.