annotate setup.py @ 22:0e40926735e1

Add a generic View to display a template for a get request
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 29 Sep 2014 16:07:25 +0200
parents 75d90af41dfa
children 8a3f3427aa15
rev   line source
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 from setuptools import setup, find_packages
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5 version = '0.1'
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
6
9
d5970cf6367d Add a read function to close file descriptor after the file has been read
Björn Ricks <bjoern.ricks@intevation.de>
parents: 5
diff changeset
7 def read(filename):
d5970cf6367d Add a read function to close file descriptor after the file has been read
Björn Ricks <bjoern.ricks@intevation.de>
parents: 5
diff changeset
8 with open(filename, "r") as f:
d5970cf6367d Add a read function to close file descriptor after the file has been read
Björn Ricks <bjoern.ricks@intevation.de>
parents: 5
diff changeset
9 return f.read()
d5970cf6367d Add a read function to close file descriptor after the file has been read
Björn Ricks <bjoern.ricks@intevation.de>
parents: 5
diff changeset
10
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11 setup(
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
12 name='odfcast',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
13 version=version,
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 description="A conversion http service based on py3o",
9
d5970cf6367d Add a read function to close file descriptor after the file has been read
Björn Ricks <bjoern.ricks@intevation.de>
parents: 5
diff changeset
15 long_description=read("README.rst"),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
16 classifiers=[
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
17 "Development Status :: 3 - Alpha",
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 "Operating System :: POSIX :: Linux",
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
19 "Programming Language :: Python",
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
20 ],
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
21 keywords='OpenOffice PDF',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
22 author='Björn Ricks',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
23 author_email='bjoern.ricks@intevation.de',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
24 url='',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
25 license='',
13
75d90af41dfa Exclude example data from being packaged in setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents: 11
diff changeset
26 packages=find_packages(exclude=["examples"]),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
27 include_package_data=True,
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
28 zip_safe=True,
11
55581932e7f9 Read install_requires from requirements.txt file in setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents: 10
diff changeset
29 install_requires=read("requirements.txt").split(),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
30 ],
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
31 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)