Skip to content

Commit aa060a8

Browse files
authored
Update README.md
1 parent e7079c2 commit aa060a8

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@ Requirements:
4040

4141
To build, run `make pex` from the command line in the main repo directory.
4242

43+
## Build Instructions for local execution and debugging on Windows
44+
45+
First, there are several projects that do not have good 64 bit builds for Windows platforms. These are enum34, python_ldap, and pyYaml. Acceptable builds are in the misc/build/Win64 folder and these can be used directly. You can also check http://www.lfd.uci.edu/~gohlke/pythonlibs/
46+
47+
Load dependencies into interpreter directory:
48+
49+
pip install -r misc\build\Win64\python-ldap-requirements.txt
50+
pip install -r misc\build\requirements.txt
51+
52+
The requirements will usually be loaded into C:\Python27\lib\site-packages if C:\Python27 is your install directory and you aren't specifying any options that send things elsewhere.
53+
54+
To set up PyCharm for debugging,
55+
1. Make sure you are using 64 bit python interpreter. File Settings Project Interpreter
56+
2. Make sure interprter isn't overridden in run configuration
57+
3. Set up a run configuration based on Python that references the user_sync\app.py file as the script, and has the command line parameters you want to test with (e.g. --users file test.csv). Working directory works best as the folder with your config files.
58+
4359
# Basic Usage
4460

4561
```

0 commit comments

Comments
 (0)