@@ -14,7 +14,8 @@ Extract your .unitypackage
1414
1515* Download the [ unitypackage_extractor.zip] ( https://github.com/Cobertos/unitypackage_extractor/releases/tag/0.3.0 ) from the Releases tab.
1616* Extract everything into a new directory
17- * Run the ` extractor.exe ` inside with ` extractor.exe [path/to/your/package.unitypackage] (optional/output/path) `
17+ * Drag and drop your ` .unitypackage ` onto ` extractor.exe ` OR
18+ * Run from the command line with ` extractor.exe [path/to/your/package.unitypackage] (optional/output/path) `
1819
1920### Usage with Python 3.6+
2021
@@ -30,11 +31,21 @@ extractPackage("path/to/your/package.unitypackage", outputPath="optional/output/
3031```
3132
3233### Contributing
33- #### Building
34- Install ` pyinstaller ` and run ` build_exe.py ` . I couldn't get this to work with Python 3.7 so I downloaded and ran it with 3.6 and it worked.
34+ #### Building (requires pyenv)
35+ * ` pyenv global 3.6.8-amd64 `
36+ * Originally wasn't able to get this to run on Python 3.7 when it was new, but 3.6 is guarenteed to build the ` .exe `
37+ * ` pyenv exec python -m venv venv64 `
38+ * ` venv64\scripts\activate.bat ` or ` venv64/scripts/activate ` for Linux
39+ * ` pip install -r requirements-dev.txt ` (Installs ` pyinstaller ` and ` pytest ` )
40+ * ` python build_exe.py `
41+ * ` venv64\scripts\deactivate.bat ` (or you'll use the wrong python when you make another ` venv ` )
42+ * Do the same with ` pyenv and 3.6.8 ` and make a folder called ` venv32 ` instead
3543
3644#### Testing
37- Install ` pytest ` and run ` pytest -v -s ` in the root directory.
45+ * ` python -m venv venv `
46+ * ` venv\scripts\activate.bat ` or ` venv/scripts/activate ` for Linux
47+ * ` pip install -r requirements-dev.txt ` (Installs ` pyinstaller ` and ` pytest ` )
48+ * ` pytest -v -s ` in the root directory
3849
3950#### Releasing
4051Refer to [ the python docs on packaging for clarification] ( https://packaging.python.org/tutorials/packaging-projects/ ) .
0 commit comments