-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
46 lines (42 loc) · 1.38 KB
/
setup.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from photocalendar import version
templates = (
'delphinus',
'columba',
'lupus',
)
# load README.md
with open('README.md') as f:
long_description = f.read()
# and replace local images with github urls
for template in templates:
long_description = long_description.replace(
"images/{}.png".format(template),
"https://raw.githubusercontent.com/stranskyjan/photo-calendar/master/images/{}.png".format(template)
)
setuptools.setup(
name = 'photo-calendar',
version = version,
description = 'Creates custom weekly/monthly/... photo calendars',
author = 'Jan Stránský',
author_email = 'honzik.stransky@gmail.com',
long_description = long_description,
long_description_content_type = 'text/markdown',
url = 'https://github.com/stranskyjan/photo-calendar',
license = "LGPL",
keywords = "photocalendar photo calendar",
packages = setuptools.find_packages(exclude=['test']),
package_data = dict(('photocalendar.templates.{}'.format(t),["*.css"]) for t in templates),
scripts = ['bin/photocalendar'],
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Unix Shell',
'Operating System :: OS Independent',
],
)