-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
30 lines (27 loc) · 843 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
import os
from setuptools import find_packages, setup
name = 'chs'
def get_version():
file_path = os.path.dirname(os.path.abspath(__file__))
version_file = open(os.path.join(file_path, 'chs/VERSION'), 'r')
return version_file.read().rstrip()
setup(
name = name,
version = get_version(),
license='MIT',
description = 'Play chess against the Stockfish engine in your terminal.',
author = 'Nick Zuber',
author_email = 'zuber.nicholas@gmail.com',
include_package_data = True,
url = 'https://github.com/nickzuber/chs',
download_url = 'https://github.com/user/reponame/archive/v_01.tar.gz',
keywords = ['chess', 'terminal', 'stockfish'],
packages = find_packages(),
install_requires=[
'python-chess',
'editdistance',
],
entry_points={
'console_scripts': ['{} = chs.__main__:run'.format(name)],
}
)