comparison setup.py @ 116:67a89439e10d

Add a setup.py script
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 12 Dec 2011 09:37:39 +0100
parents
children 5f26c5c50243
comparison
equal deleted inserted replaced
115:32dad62909c3 116:67a89439e10d
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de>
5 #
6 # A python worklog-alike to log what you have 'getan' (done).
7 #
8 # This is Free Software licensed under the terms of GPLv3 or later.
9 # For details see LICENSE coming with the source of 'getan'.
10 #
11
12 from setuptools import setup, find_packages
13
14 import os.path
15
16 import getan
17
18 def read(fname):
19 return open(os.path.join(os.path.dirname(__file__),
20 fname)).read()
21
22 setup(name="getan",
23 version=getan.__version__,
24 description="getan - A worklog like tool",
25 url="http://hg.intevation.org/getan/",
26 license = "GPLv3+",
27 long_description=read("README"),
28 packages=find_packages(),
29 package_data = {"" : ["*.txt"],
30 },
31 entry_points = { "console_scripts": ["getan=getan.main:main",
32 "getan-classic=classic.getan:main"] },
33 classifiers=[
34 "Topic :: Utilities",
35 "Environment :: Console",
36 "Intended Audience :: Developers",
37 "Intended Audience :: End Users/Desktop",
38 "License :: OSI Approved :: GNU General Public License (GPL)",
39 "Operating System :: POSIX",
40 "Programming Language :: Python",
41 ]
42 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)