aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorTomasz Mieszkowski <tomasz.mieszkowski@ext.allegro.pl>2014-08-28 08:54:15 +0200
committerTomasz Mieszkowski <tomasz.mieszkowski@ext.allegro.pl>2014-08-28 08:54:15 +0200
commit60c073a6ed451cf91d9877a3305407756b9ffdce (patch)
tree955542ec282745e31d78d1b2b9515d8cebe67e78 /setup.py
downloadtipboard-60c073a6ed451cf91d9877a3305407756b9ffdce.tar.gz
tipboard-60c073a6ed451cf91d9877a3305407756b9ffdce.tar.bz2
tipboard-60c073a6ed451cf91d9877a3305407756b9ffdce.zip
Tipboard got open-sourced!1.4.0
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..8463d33
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,38 @@
+ # -*- encoding: utf-8 -*-
+
+import os
+import sys
+from setuptools import setup, find_packages
+
+assert sys.version_info >= (2, 7), "Python 2.7+ required."
+
+current_dir = os.path.abspath(os.path.dirname(__file__))
+with open(os.path.join(current_dir, 'README.rst')) as readme_file:
+ with open(os.path.join(current_dir, 'CHANGES.rst')) as changes_file:
+ long_description = readme_file.read() + '\n' + changes_file.read()
+
+from tipboard import __version__
+
+with open('requirements.txt') as requirements:
+ required = requirements.read().splitlines()
+
+setup(
+ name='tipboard',
+ version=__version__,
+ description='Tipboard - a flexible solution for creating your dashboards.',
+ long_description = long_description,
+ url='http://tipboard.allegrogroup.com',
+ license='Apache Software License v2.0',
+ author='Allegro Group and Contributors',
+ author_email='pylabs@allegro.pl',
+ packages=find_packages(),
+ include_package_data=True,
+ zip_safe=False,
+ platforms=['any'],
+ install_requires=required,
+ entry_points={
+ 'console_scripts': [
+ 'tipboard = tipboard.console:main',
+ ],
+ },
+)