annotate setup.py @ 72:77c3e481bea9

Minor typos corrected.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 06 Mar 2015 14:07:24 +0100
parents 1e62ccffb395
children
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
40
8a3f3427aa15 Fix setup.py and update coding style
Björn Ricks <bjoern.ricks@intevation.de>
parents: 13
diff changeset
7
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
8 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
9 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
10 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
11
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
12 setup(
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
13 name='odfcast',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 version=version,
56
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
15 description="A document conversion http service based on Open-"
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
16 "/LibreOffice, py3o and PyPDF2",
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
17 long_description=read("README.rst"),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 classifiers=[
56
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
19 "Development Status :: 4 - Beta",
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
20 "Operating System :: OS Independent",
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
21 "Programming Language :: Python",
56
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
22 "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
23 "Topic :: Text Processing :: General",
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
24 "License :: OSI Approved :: MIT License",
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
25 ],
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
26 keywords='OpenOffice PDF',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
27 author='Björn Ricks',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
28 author_email='bjoern.ricks@intevation.de',
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
29 url='',
56
1e62ccffb395 Update setup.py and README.rst
Björn Ricks <bjoern.ricks@intevation.de>
parents: 40
diff changeset
30 license='MIT License',
13
75d90af41dfa Exclude example data from being packaged in setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents: 11
diff changeset
31 packages=find_packages(exclude=["examples"]),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
32 include_package_data=True,
11
55581932e7f9 Read install_requires from requirements.txt file in setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents: 10
diff changeset
33 install_requires=read("requirements.txt").split(),
1
f2cd3c54a132 Add setup.py
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
34 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)