mapbox / robosat

Semantic segmentation on aerial and satellite imagery. Extracts features such as: buildings, parking lots, roads, water, clouds
MIT License
2.02k stars 383 forks source link

Package for pip install #202

Closed devinaconley closed 4 years ago

devinaconley commented 4 years ago

Allow installation of robosat package with pip. This could be hosted on PyPI or installed directly from Github.

e.g.

pip install git+https://github.com/mapbox/robosat.git@master
ocourtin commented 4 years ago

Could also worth to add an rs entry point:

 entry_points={"console_scripts": ["rs = robosat.tools.__main__:main"]},
ocourtin commented 4 years ago

@devinaconley Humm, i think @daniel-j-h point is less >= vs ~= than how to not spread package versions in several places (i.e requirements.* + setup.py).

If you look on robosat.pink project, we manage it with a single requirements.txt parsed in setup.py (impliying MANIFEST.in entry)

HTH,

devinaconley commented 4 years ago

@ocourtin responded to that part in line with the original comment ^

daniel-j-h commented 4 years ago

Thanks!