forked from pychess/pychess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
executable file
·83 lines (73 loc) · 1.79 KB
/
INSTALL
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
PyChess does not have to be compiled/installed to run.
To run: Execute the following in this directory:
$ ./pychess
To install to disk: Run following as root
# python setup.py install
To see other install options/formats:
$ python setup.py --help-commands
To run the pychess engine in text based mode
$ PYTHONPATH=lib/ python lib/pychess/Players/PyChess.py
To run unit tests for pychess:
cd testing
$ PYTHONPATH=lib/ python run_tests.py
-------------
Developers shoud install some linters:
pip install flake8
pip install pep8-naming
flake8 --install-hook
git config flake8.strict true
-------------
Dependencies for Ubuntu/Debian:
gnome-icon-theme
python >= 2.7 (or python3)
python-cairo (or python3-cairo)
python-gi (or python3-gi)
python-gi-cairo (or python3-gi-cairo)
gobject-introspection
gir1.2-glib-2.0
gir1.2-gtk-3.0
gir1.2-pango-1.0
gir1.2-rsvg-2.0
gir1.2-gdkpixbuf-2.0
gir1.2-gtksource-3.0
gir1.2-gstreamer-1.0
gir1.2-gst-plugins-base-1.0
(If you have no sound in pychess try to install gstreamer1.0-pulseaudio)
Dependencies for CentOS/RHEL7 and Fedora 20:
python
pygobject3
pycairo
gobject-introspection
glib2
gtk3
pango
gdk-pixbuf2
gtksourceview3
gstreamer1
gstreamer1-plugins-base
(python2 is used by default.
To use python3 on Fedora 20 install python3, python3-gobject and python3-cairo
These packages aren't available on CentOS/RHEL)
Dependencies for Arch:
python
python-gobject
python-cairo
gobject-introspection
glib2
gtk3
pango
gdk-pixbuf2
gtksourceview3
gstreamer
gst-plugins-base
(Arch uses python3 by default. To use python2 install python2,
python2-gobject and python2-cairo)
Dependencies for Windows:
python >= 2.7
PyGObject (from http://sourceforge.net/projects/pygobjectwin32)
Base packages
GDK-Pixbuf
GTK+ 3.x
GTKSourceView 3.x
Pango
(create engine: pyinstaller and pywin32)