-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
42 lines (38 loc) · 1.05 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
from setuptools import setup, find_packages
from os.path import isfile
import Identicon
def read(*names):
values = dict()
extensions = ['.txt', '.rst']
for name in names:
value = ''
for extension in extensions:
filename = name + extension
if isfile(filename):
with open(filename) as f:
value = f.read()
break
values[name] = value
return values
long_description = '''
%(README)s
===
%(CHANGES)s
''' % read('README', 'CHANGES')
setup(
name='Identicon',
version=Identicon.__version__,
description='A Python library for generating Github-like identicons',
long_description=long_description,
keywords='identicon image profile render github',
author='Hansuk Hong',
author_email='[email protected]',
maintainer='Hansuk Hong',
maintainer_email='[email protected]',
url='https://github.com/flavono123/identicon',
license='MIT',
packages=find_packages(),
install_requires=[
'pillow',
],
)