tiramisu/setup.py

56 lines
1.8 KiB
Python
Raw Normal View History

2012-07-13 11:22:00 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
2013-09-01 23:09:50 +02:00
from os.path import isfile
version_file = 'version.in'
2012-07-13 11:22:00 +02:00
def fetch_version():
2013-09-01 23:09:50 +02:00
"""Get version from version.in"""
if not isfile(version_file):
raise Exception('Please use "make && make" install instead of '
'setup.py directly')
return file(version_file).readline().strip()
2012-07-13 11:22:00 +02:00
setup(
2013-09-01 23:09:50 +02:00
author="Tiramisu's team",
2013-08-29 12:15:12 +02:00
author_email='contact@cadoles.com',
2012-07-13 11:22:00 +02:00
name='tiramisu',
version=fetch_version(),
2013-09-01 23:09:50 +02:00
description='an options controller tool',
url='http://tiramisu.labs.libre-entreprise.org/',
packages=['tiramisu'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
# "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic"
],
long_description="""\
An options controller tool
-------------------------------------
Due to more and more available options required to set up an operating system,
compiler options or whatever, it became quite annoying to hand the necessary
options to where they are actually used and even more annoying to add new
options. To circumvent these problems the configuration control was
introduced...
Tiramisu is an options handler and an options controller, wich aims at
producing flexible and fast options access.
This version requires Python 2.6 or later.
"""
2012-07-13 11:22:00 +02:00
)