diff --git a/.gitignore b/.gitignore index e568970f9..dc52c7d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,11 @@ target # docker sbt /? -# VS Code workspace files +# VS Code *.code-workspace +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..e72490fb0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.watcherExclude": { + "**/target": true + } +} \ No newline at end of file diff --git a/Pipfile b/Pipfile new file mode 100644 index 000000000..bdd79f6ea --- /dev/null +++ b/Pipfile @@ -0,0 +1,12 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] + +[dev-packages] +chess = "*" + +[requires] +python_version = "3.12" diff --git a/Pipfile.lock b/Pipfile.lock new file mode 100644 index 000000000..7b3680989 --- /dev/null +++ b/Pipfile.lock @@ -0,0 +1,30 @@ +{ + "_meta": { + "hash": { + "sha256": "b673e25b6f124b9b9c3f842696d39b183aa91f79f1d11abd5678d03d5f2dfc2e" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3.12" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": {}, + "develop": { + "chess": { + "hashes": [ + "sha256:48ff7c084a370811819cfc753c2ee159942356ada70824666bd01ee3fca170d0", + "sha256:bccde105f54aa436e899f92b4ba953731c65012a863fd9235683d0e2863ccd54" + ], + "index": "pypi", + "markers": "python_version >= '3.7'", + "version": "==1.10.0" + } + } +} diff --git a/README.md b/README.md index 6571a7f7b..c09a6d988 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,8 @@ To run benchmarks for a specific class: To run [scalafmt](https://scalameta.org/scalafmt/docs/installation.html) and [scalafix](https://scalacenter.github.io/scalafix): sbt prepare + + +Install (python) +------- +For python code, [install pipenv](https://pipenv.pypa.io/en/latest/installation.html#installing-pipenv), and run `$ pipenv install` from project root. \ No newline at end of file