Skip to content

Commit

Permalink
PyPI ready
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed May 14, 2015
1 parent e1fb900 commit e9164b3
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -1 +1,3 @@
include README.md
include LICENSE.txt
recursive-include engines *
5 changes: 2 additions & 3 deletions deep-blue-talks/play → bin/deep-blue-talks
Expand Up @@ -3,7 +3,7 @@

# TODO: use e.strerror for error messages

from analysis import MoveAnalyzer
from kasparobot import MoveAnalyzer
import chess
import chess.uci
from chess.uci import InfoHandler
Expand Down Expand Up @@ -43,7 +43,7 @@ pieces = {
}

board = chess.Board()
engine = chess.uci.popen_engine('engines/stockfish')
engine = chess.uci.popen_engine('../engines/stockfish')
engine.uci()
info = InfoHandler()
engine.info_handlers.append(info)
Expand Down Expand Up @@ -215,5 +215,4 @@ def configure_engine(args):
print usage_text

if __name__ == '__main__':
# TODO: add 'play against machine' mode
run()
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
16 changes: 9 additions & 7 deletions setup.py
@@ -1,28 +1,30 @@
from setuptools import setup

def readme():
with open('README.md') as f:
return f.read()

setup(name='deep-blue-talks',
version='0.1',
description='bestow speech unto chess engines',
long_description=readme(),
long_description=open('README.md').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
'Topic :: Games/Entertainment :: Board Games',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='deep blue talks chess pedro cattori',
url='https://github.com/pcattori/deep-blue-talks',
author='Pedro Cattori',
author_email='pcattori@gmail.com',
license='MIT',
packages=['deep-blue-talks'],
packages=['kasparobot'],
install_requires=[
'python-chess',
],
dependency_links=[
"git+https://github.com/niklasf/python-chess.git@883a491b414ab9c30a2021241ad4d2af2113c868#egg=python-chess"
],
scripts=['bin/deep-blue-talks'],
include_package_data=True,
zip_safe=False)

0 comments on commit e9164b3

Please sign in to comment.