Added required info for successful installation

This commit is contained in:
2020-03-28 11:41:58 +01:00
parent 71b1ba0ffe
commit 08976dad82
2 changed files with 9 additions and 4 deletions

View File

@ -10,9 +10,12 @@ can be visualised.
## Installation
Please install python header files of your Python version.
Those are needed to compile the pycocotools with Cython upon installation.
```sh
pip install twomartens.masterthesis
pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI
pip install 'git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI'
```
The second line is important as Git dependencies cannot be specified in the `setup.py`
@ -79,11 +82,13 @@ the repository:
git submodule init
git submodule update
pip install -e .
pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI
pip install 'git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI'
```
## Release History
* 0.3.0
* added cython dependency and information about required python header files
* 0.2.0
* added python 3.8 classifier
* 0.1.0

View File

@ -29,7 +29,7 @@ setup(
author="Jim Martens",
author_email="github@2martens.de",
url="https://git.2martens.de/2martens/masterthesis",
version="0.1.0",
version="0.3.0",
namespace_packages=["twomartens"],
packages=find_packages('src', exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_dir={'': 'src'},
@ -39,7 +39,7 @@ setup(
},
python_requires="~=3.6",
install_requires=["tensorflow", "Pillow", "h5py", "numpy", "opencv-python", "scikit-learn", "tqdm",
"beautifulsoup4", "matplotlib", "protobuf", "imutils", "attributedict"],
"beautifulsoup4", "matplotlib", "protobuf", "imutils", "attributedict", "cython"],
license="Apache License 2.0",
classifiers=[
"Operating System :: OS Independent",