-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.11 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
46
#!/usr/bin/env python
# encoding: UTF-8
import os
from setuptools import setup, find_packages
from setuptools.command.install import install as _install
class install(_install):
def run(self):
_install.run(self)
# Additional setup if needed
long_description = ""
try:
if os.path.isfile("README.rst"):
long_description = open("README.rst", "r").read()
elif os.path.isfile("README.md"):
long_description = open("README.md", "r").read()
except Exception as error:
print("Unable to read the README file: " + str(error))
setup(
name="kattischeck",
version="0.1",
description="Test Kattis problems directly.",
url="https://github.com/marcelroed/kattischeck",
license="MIT",
long_description=long_description,
author="Marcel Rød",
keywords="kattis test python cpp",
platforms=["Windows"],
packages=find_packages(),
install_requires=[
'urllib3>=1.24.1',
'colorama>=0.4.1'
],
entry_points={
"console_scripts": [
"kattis = kattischeck.__main__:main"
]
},
cmdclass={"install": install}
)