-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
45 lines (39 loc) · 1.29 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
import sys
from setuptools import setup
requirements = ['Click', 'Jinja2', 'tabulate']
if 'win32' in sys.platform.lower():
# Windows needs colorama for the terminal colors to work.
requirements.append('colorama')
def get_readme():
with open('README.rst', encoding='UTF-8') as readme:
return readme.read()
setup(
name='EasyEuler',
version='1.2.1',
description='A command line tool for Project Euler',
long_description=get_readme(),
license='MIT',
author='Encrylize',
author_email='[email protected]',
url='https://github.com/Encrylize/EasyEuler',
keywords=['EasyEuler', 'ProjectEuler', 'euler', 'Project-Euler'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Topic :: Utilities',
'Environment :: Console',
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.5',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Natural Language :: English'
],
packages=['EasyEuler', 'EasyEuler.commands'],
install_requires=requirements,
entry_points='''
[console_scripts]
easyeuler=EasyEuler.cli:cli
''',
include_package_data=True,
zip_safe=False
)