Mercurial > getan
view setup.py @ 561:6d2baff45b47 3.6
Prepares for release 3.6
author | Magnus Schieder <magnus.schieder@intevation.de> |
---|---|
date | Thu, 14 May 2020 20:39:48 +0200 |
parents | 23107de98a4f |
children |
line wrap: on
line source
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # (c) 2011, 2014 by Björn Ricks <bjoern.ricks@intevation.de> # (c) 2017, 2018 by Intevation GmbH # # Author(s): # * Björn Ricks <bjoern.ricks@intevation.de> # * Bernhard Reiter <bernhard.reiter@intevation.de> # * Magnus Schieder <magnus.schieder@intevation.de> # # A python worklog-alike to log what you have 'getan' (done). # # This is Free Software licensed under the terms of GPLv3 or later. # For details see LICENSE coming with the source of 'getan'. # import os.path from setuptools import setup, find_packages import getan cur_dir = os.path.dirname(__file__) scripts_dir = os.path.join(cur_dir, "scripts") def read(fname): with open(os.path.join(cur_dir, fname)) as f: return f.read() setup(name="getan", version=getan.__version__, description="Terminal based time-tracking " "and reporting tool; comparable to 'worklog'.", url="https://getan.wald.intevation.org/", download_url="https://scm.wald.intevation.org/hg/getan/", maintainer="magnus.schieder", maintainer_email="magnus.schieder@intevation.de", license="GPLv3+", long_description=read("README"), long_description_content_type="text/x-rst", packages=find_packages(), python_requires='>=3.4', package_data={ "": ["*.txt"], "getan": ["templates/*"], }, install_requires=[ 'jinja2', 'urwid>=1.1.2' ], scripts=[ os.path.join(scripts_dir, "convert-projects"), os.path.join(scripts_dir, "getan-daily-report"), os.path.join(scripts_dir, "getan-report")], entry_points={"console_scripts": ["getan=getan.main:main"]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Topic :: Utilities", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: " "GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX", "Programming Language :: Python :: 3.4" ], )