tiramisu/setup.py

52 lines
1.6 KiB
Python
Raw Permalink Normal View History

2012-07-13 11:22:00 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
2016-04-07 15:53:48 +02:00
import os
2019-04-05 23:47:18 +02:00
from tiramisu import __version__
2016-04-07 15:53:48 +02:00
ORI_PACKAGE_NAME = 'tiramisu'
PACKAGE_NAME = os.environ.get('PACKAGE_DST', ORI_PACKAGE_NAME)
if PACKAGE_NAME != ORI_PACKAGE_NAME:
package_dir = {PACKAGE_NAME: ORI_PACKAGE_NAME}
else:
package_dir = None
2016-03-10 14:50:27 +01:00
2012-07-13 11:22:00 +02:00
setup(
2019-04-05 23:47:18 +02:00
version=__version__,
2013-09-01 23:09:50 +02:00
author="Tiramisu's team",
2019-04-05 23:47:18 +02:00
author_email='gnunux@gnunux.info',
name=PACKAGE_NAME,
2013-09-01 23:09:50 +02:00
description='an options controller tool',
2019-04-05 23:47:18 +02:00
url='https://framagit.org/tiramisu/tiramisu',
license='GNU Library or Lesser General Public License (LGPL)',
provides=['tiramisu_api'],
2013-09-01 23:09:50 +02:00
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
2013-09-01 23:09:50 +02:00
"Operating System :: OS Independent",
2019-04-05 23:47:18 +02:00
"Natural Language :: English",
"Natural Language :: French",
2013-09-01 23:09:50 +02:00
],
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.
2019-04-05 23:47:18 +02:00
This version requires Python 3.5 or later.
2013-09-16 14:02:55 +02:00
""",
2019-04-05 23:47:18 +02:00
include_package_data=True,
package_dir=package_dir,
packages=[PACKAGE_NAME],
2012-07-13 11:22:00 +02:00
)