-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (27 loc) · 819 Bytes
/
setup.py
File metadata and controls
31 lines (27 loc) · 819 Bytes
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
import os
from setuptools import setup, find_packages
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'contest', '__version__.py'), 'r') as f:
exec(f.read(), about)
with open('README.md', 'r') as f:
readme = f.read()
with open('requirements.txt', 'r') as f:
install_requires = f.read().split('\n')
setup(
name=about['__title__'],
version=about['__version__'],
packages=find_packages(),
author=about['__author__'],
description=about['__description__'],
long_description=readme,
long_description_content_type='text/markdown',
license=about['__license__'],
url=about['__url__'],
install_requires=install_requires,
entry_points={
'console_scripts': [
'contest=contest.__main__:main'
]
}
)