icalendar/setup.py

54 wiersze
1.5 KiB
Python
Czysty Zwykły widok Historia

import codecs
2011-08-24 21:18:36 +00:00
import setuptools
import sys
2005-04-04 16:47:58 +00:00
2014-01-06 15:22:38 +00:00
2014-04-05 17:34:39 +00:00
version = '3.6.3.dev0'
shortdesc = 'iCalendar parser/generator'
longdesc = codecs.open('README.rst', encoding='utf-8').read()
longdesc += codecs.open('CHANGES.rst', encoding='utf-8').read()
longdesc += codecs.open('LICENSE.rst', encoding='utf-8').read()
2014-01-06 15:22:38 +00:00
tests_require = []
if sys.version_info[:2] == (2, 6):
# Python unittest2 only needed for Python 2.6
tests_require = ['unittest2']
2005-04-04 16:47:58 +00:00
2014-01-06 15:22:38 +00:00
2011-08-24 21:18:36 +00:00
setuptools.setup(
2011-08-17 19:36:01 +00:00
name='icalendar',
version=version,
description=shortdesc,
long_description=longdesc,
2011-08-17 19:36:01 +00:00
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
'License :: OSI Approved :: BSD License',
2011-08-17 19:36:01 +00:00
'Operating System :: OS Independent',
],
2012-01-08 14:47:04 +00:00
keywords='calendar calendaring ical icalendar event todo journal '
'recurring',
author='Plone Foundation',
author_email='plone-developers@lists.sourceforge.net',
url='https://github.com/collective/icalendar',
license='BSD',
2011-08-24 21:18:36 +00:00
packages=setuptools.find_packages('src'),
2011-08-17 19:36:01 +00:00
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
2013-02-20 17:01:21 +00:00
'python-dateutil',
2014-05-29 16:58:08 +00:00
'pytz',
],
2011-08-17 19:36:01 +00:00
extras_require={
'test': tests_require
}
)