-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
35 lines (31 loc) · 1013 Bytes
/
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
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os, re, ast
from setuptools import setup, find_packages
PACKAGE_NAME = 'typro'
with open(os.path.join(PACKAGE_NAME, '__init__.py')) as f:
match = re.search(r'__version__\s+=\s+(.*)', f.read())
version = str(ast.literal_eval(match.group(1)))
setup(
name="typro",
version=version,
url='https://github.com/mzks/typro',
author='Keita Mizukoshi',
author_email='[email protected]',
maintainer='Keita Mizukoshi',
maintainer_email='[email protected]',
description='typing game on console',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=['numpy', 'pandas', 'requests'],
license="MIT",
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
entry_points={
'console_scripts': [ 'typro=typro.cli:main' ]
}
)