- commit
- f08e8e35866bba400f21f6518b7aa0b46c26d830
- parent
- 76516f7619801aa2caa63e1fe242d6bfde750b34
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-09-26 01:52
add setup.py
Diffstat
| A | MANIFEST.in | 9 | +++++++++ |
| M | plutopluto.py | 6 | +++++- |
| A | setup.py | 49 | +++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 63 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
@@ -0,0 +1,9 @@ -1 1 include README.rst -1 2 include example.cfg -1 3 include index.html -1 4 include static/color.css -1 5 include static/favicon.ico -1 6 include static/jqlite.js -1 7 include static/mustache.js -1 8 include static/plutopluto.css -1 9 include static/plutopluto.js
diff --git a/plutopluto.py b/plutopluto.py
@@ -97,7 +97,7 @@ def config(): 97 97 }) 98 98 99 99100 -1 if __name__ == '__main__':-1 100 def main(): 101 101 parser = argparse.ArgumentParser(description='simple feed aggregator') 102 102 parser.add_argument('-d', '--debug', action='store_true') 103 103 parser.add_argument('-c', '--config', metavar='FILE') @@ -116,3 +116,7 @@ if __name__ == '__main__': 116 116 sys.exit(1) 117 117 118 118 app.run(app.config.get('HOST'), app.config.get('PORT')) -1 119 -1 120 -1 121 if __name__ == '__main__': -1 122 main()
diff --git a/setup.py b/setup.py
@@ -0,0 +1,49 @@
-1 1 #!/usr/bin/env python
-1 2
-1 3 from setuptools import setup
-1 4 from distutils.command.build import build
-1 5 from setuptools.command.install_lib import install_lib
-1 6
-1 7
-1 8 setup(
-1 9 name='plutopluto',
-1 10 version='1.0.0',
-1 11 description="simple feed aggregator",
-1 12 long_description=open('README.rst').read(),
-1 13 url='https://github.com/xi/plutopluto',
-1 14 author='Tobias Bengfort',
-1 15 author_email='tobias.bengfort@posteo.de',
-1 16 py_modules=['plutopluto'],
-1 17 data_files=[
-1 18 ('', ['index.html']),
-1 19 ('static', [
-1 20 'static/color.css',
-1 21 'static/favicon.ico',
-1 22 'static/jqlite.js',
-1 23 'static/mustache.js',
-1 24 'static/plutopluto.css',
-1 25 'static/plutopluto.js',
-1 26 ]),
-1 27 ],
-1 28 include_package_data=True,
-1 29 install_requires=[
-1 30 'argparse',
-1 31 'flask',
-1 32 'werkzeug',
-1 33 'feedparser',
-1 34 'beautifulsoup4',
-1 35 ],
-1 36 entry_points={'console_scripts': [
-1 37 'plutopluto=plutopluto:main',
-1 38 ]},
-1 39 license='GPLv2+',
-1 40 classifiers=[
-1 41 'Environment :: Web Environment',
-1 42 'Intended Audience :: End Users/Desktop',
-1 43 'Operating System :: OS Independent',
-1 44 'Programming Language :: Python',
-1 45 'Programming Language :: JavaScript',
-1 46 'License :: OSI Approved :: GNU General Public License v2 or later '
-1 47 '(GPLv2+)',
-1 48 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',
-1 49 ])