1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#!/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>=0.8,<1",
"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)
|