Skip to content

Commit

Permalink
Make numpy external dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
plant99 committed Jul 25, 2020
1 parent 0d3f4ea commit 2df988d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@


# felicette

Satellite imagery for dummies.
Expand All @@ -11,10 +12,12 @@ This tool is for a sentient being who wants to view high-res satellite imagery o

NB: `felicette` at the present state searches for cloud-cover < 10%, and doesn't constrain results on the basis of dates.

One can see [Product Roadmap](https://github.com/plant99/felicette/wiki/Product-Roadmap) for upcoming features.

### Installation

`felicette` depends on GDAL. But the following steps cover GDAL's installation as well.

`rio-color` uses numpy headers to setup, thus installing numpy and GDAL=={ogrinfo --version} would be sufficient before installing felicette.
#### Debian
```
$ sudo add-apt-repository ppa:ubuntugis/ppa
Expand All @@ -25,7 +28,7 @@ $ gdal-config --version
* activate virtual environment *
$ pip install GDAL==<version-number>
$ pip install numpy GDAL==<version-number>
$ pip install felicette
```
Expand All @@ -38,7 +41,7 @@ $ gdal-config --version
* activate virtual environment *
$ pip install GDAL==<version-number>
$ pip install numpy GDAL==<version-number>
$ pip install felicette
```

Expand Down Expand Up @@ -117,4 +120,4 @@ When you get a satellite imagery using this tool, imagine Félicette took the pi
https://drive.google.com/drive/folders/1QxJUaCt_MDE7LAdh9znTP7796JXAHKhU?usp=sharing) is a link to the images generated with RGB, CIR options.

Following is a recording of the terminal session recording usage of `felicette`.
[![asciicast](https://asciinema.org/a/IoiUnkJ1IcXtsj81hjrmSpZi5.png)](https://asciinema.org/a/IoiUnkJ1IcXtsj81hjrmSpZi5)
[![asciicast](https://asciinema.org/a/IoiUnkJ1IcXtsj81hjrmSpZi5.png)](https://asciinema.org/a/IoiUnkJ1IcXtsj81hjrmSpZi5)
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
"opencv-python==4.3.0.36"
]

setup_dependencies = ['numpy>=1.7']

setup(
name="felicette",
version="0.1.4",
version="0.1.9",
url="https://github.com/plant99/felicette",
license="BSD",
author="Shivashis Padhi",
Expand All @@ -33,7 +31,6 @@
include_package_data=True,
zip_safe=False,
platforms="any",
setup_requires=setup_dependencies,
install_requires=dependencies,
entry_points={"console_scripts": ["felicette = felicette.cli:main",],},
classifiers=[
Expand Down

0 comments on commit 2df988d

Please sign in to comment.