forked from kyuridenamida/atcoder-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.33 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
# -*- coding:utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from setuptools import setup, find_packages
from atcodertools.release_management.version import __version__
try:
with open('README.md', encoding="utf-8") as f:
readme = f.read()
except IOError:
readme = ''
def _requires_from_file(filename):
return open(filename).read().splitlines()
setup(
name="atcoder-tools",
version=__version__,
description="Convenient modules & tools for AtCoder users, written in Python 3.5",
url='https://github.com/kyuridenamida/atcoder-tools',
author='kyuridenamida',
author_email='[email protected]',
long_description_content_type="text/markdown",
long_description=readme,
packages=find_packages(exclude=('tests',)),
install_requires=_requires_from_file('requirements.txt'),
license="MIT",
entry_points={
'console_scripts': [
'atcoder-tools = atcodertools.atcoder_tools:main',
],
},
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
]
)