12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- # SPDX-License-Identifier: CC0-1.0
- #
- # This file is part of lpschedule-generator.
- #
- from lpschedule_generator import _version
- from setuptools import setup, find_packages
- def readf(filename):
- content = ''
- try:
- with open(filename, 'r') as f:
- for line in f:
- content = content + line
- except IOError:
- print('Error: unable to open {}'.format(filename))
- return content
- config = {
- 'name': 'lpschedule-generator',
- 'description': 'LibrePlanet schedule generator',
- 'long_description': readf('README.rst'),
- 'version': _version.__version__,
- 'license': 'Public Domain',
- 'url': 'https://notabug.org/rsd/lpschedule-generator/',
- 'author': 'rsiddharth',
- 'author_email': 'rsd@gnu.org',
- 'install_requires': ['mistune', 'Jinja2', 'beautifulsoup4',
- 'unidecode', 'icalendar', 'pytz'],
- 'tests_require': ['nose', 'mock'],
- 'test_suite': 'nose.collector',
- 'py_modules': ['lps_gen'],
- 'packages': ['lpschedule_generator'],
- 'package_data': {
- 'lpschedule_generator': ['data/schedule.jinja2', 'data/speakers.jinja2']
- },
- 'entry_points': {
- 'console_scripts': ['lps_gen = lps_gen:main']
- },
- 'classifiers': [
- 'Development Status :: 3 - Alpha',
- 'Environment :: Console',
- 'Intended Audience :: Other Audience',
- 'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
- 'Operating System :: POSIX :: Linux',
- 'Operating System :: POSIX :: BSD :: OpenBSD',
- 'Programming Language :: Python :: 3 :: Only',
- 'Topic :: Text Processing',
- 'Topic :: Utilities',
- ]
- }
- setup(**config)
|