File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ pip install chessAnalyzer
1414## Usage
1515
1616``` python
17- import chessAnalyzer, os
17+ import os, chessAnalyzer, chessAnalyzer.main
1818
19- ca = chessAnalyzer.main.AnnotatePosition(0.5 , os.cwd(), < engine(optional)> )
19+ # Always use a string for file paths!
20+
21+ ca = chessAnalyzer.main.AnnotatePosition(0.5 , os.getcwd(), < engine file path(string)> )
2022
2123ca.graph(pgn_loc, end_loc) # creates a graph
2224annotated_pgn = ca.annotate_game(pgn_loc) # annotates game
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "chessAnalyzer" , # Replace with your own username
8- version = "0.0.1 " ,
8+ version = "0.0.4 " ,
99 author = "Aryan Anand" ,
1010 author_email = "aryananand.chess@gmail.com" ,
1111 description = "Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, "
You can’t perform that action at this time.
0 commit comments