PP-P2P-Parser
PP-P2P-Parser copied to clipboard
Rework documentation
Current documentation is not user friendly:
- missing proper guidelines to set up a development environment
- how to use
- how to contribute
Just from my little experience from my last MR:
- Install
pipenv(example for OSX with brew:brew install pipenv) - Install dependencies for this project with
pipenv install - Start a shell that can use all dependencies:
pipenv shell - Run all tests:
pytest -v --doctest-modules - Automatically format code:
black ./src
is there also a guide or executable windows version
Hi @flod1,
there's currently no executable version available.
You should be able to follow the setup also under Windows:
- Download and install Python 3.8 or later (Download from python.org) (unit tests are executed against 3.8 to 3.11)
- Open a terminal/cmd and run
pip install pipenv - once pipenv is installed navigate to the downloaded (either unpacked archive or via git clone) directory
- Install all dependencies via
pipenv install(if you also need the dev packages add the--devparameter) - Enter the virtual env
pipenv shell - run the script