-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·39 lines (34 loc) · 1.06 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
#! /usr/bin/env python3
# -*- encoding: utf-8 -*-
from setuptools import setup
import codecs
import re
import os
def rread(fn):
lfn = os.path.join(os.path.dirname(__file__) or '.', fn)
return codecs.open(lfn, 'r', 'utf-8').read()
#
# Get version number from __init__py
#
init = rread('dpc/__init__.py')
VERSION = re.search("__version__ = '([^']+)'", init).group(1)
setup(name='dpc',
version=VERSION,
description='Daily photo calendar',
long_description=rread('README.rst'),
url='https://github.com/svalgaard/daily-photo-calendar',
author='Jens Svalgaard Kohrt',
author_email='python@svalgaard.net',
license='MIT',
packages=['dpc'],
zip_safe=False,
requires=['Pillow'],
scripts=['dpc-single'],
keywords='photos calendar',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: MIT License',
])