From fb1e126e5bd771687b9ae180cb8657c02cda0bdb Mon Sep 17 00:00:00 2001 From: Thomas Irgang Date: Wed, 19 Jul 2017 16:31:38 +0200 Subject: [PATCH] PyPi stuff added. --- .gitignore | 2 ++ MANIFEST.in | 1 + setup.cfg | 2 ++ setup.py | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index ec67ac1..5700e95 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ calendars.txt *__pycache__* .idea/ .coverage +dist/* +MANIFEST diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b53bce7 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include test *.ics *.txt diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b88034e --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..545f672 --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +from distutils.core import setup +setup( + name = 'icalevents', + packages = ['icalevents'], + version = '0.0.1', + description = 'iCal downloader and parser', + author = 'Thomas Irgang', + author_email = 'thomas@irgang-la.de', + url = 'https://github.com/irgangla/icalevents', + download_url = 'https://github.com/irgangla/icalevents/archive/v0.0.1.tar.gz', + keywords = ['iCal'], + classifiers = [ + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Development Status :: 4 - Beta', + 'Environment :: Other Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Operating System :: OS Independent', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + long_description = """\ +iCal download, parse and query tool +------------------------------------- + +Supports downloading of iCal URL or loading of iCal files, parsing the content and finding events occurring in a given +time range. + +See: icalevents.icalevents.events(url=None, file=None, start=None, end=None, fix_apple=False) + +This version requires Python 3 or later. +""" +) \ No newline at end of file