-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.18 KB
/
setup.py
File metadata and controls
44 lines (40 loc) · 1.18 KB
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
import os
from setuptools import setup, find_packages
base_dir = os.path.dirname(__file__)
def readme():
with open('README.rst') as f:
return f.read()
about = {}
with open(os.path.join(base_dir, 'code2image', '__about__.py')) as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
url=about['__url__'],
author=about['__author__'],
author_email=about['__email__'],
license=about['__license__'],
long_description=readme(),
keywords='pillow image pygments code snippets',
packages=find_packages(),
install_requires=[
'pygments',
'pillow',
],
entry_points = {
'console_scripts': [
'code2image=code2image.cli:main',
],
},
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)