-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (35 loc) · 1.19 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
from setuptools import setup
import os
__version__ = '0.6.1'
requires = [
'pillow',
]
def read_file(filename):
try:
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
except IOError:
return ''
setup(
name='pelican-albums',
packages=['pelican_albums'],
version=__version__,
description='Automatic photo album generation and thumbnailing for Pelican.',
long_description=read_file('README.rst') + '\n' + read_file('changelog.rst'),
author='Ingmar Steen',
author_email='[email protected]',
url='https://github.com/iksteen/pelican-albums/',
download_url='https://github.com/iksteen/pelican-albums/tarball/v%s' % __version__,
install_requires=requires,
classifiers=[
'Environment :: Plugins',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)