Browse Source

fix incompatible in requirement

Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
tags/v0.4.2^2
JoeyHwong 4 years ago
parent
commit
14b22ece31
3 changed files with 10 additions and 2 deletions
  1. +1
    -1
      lib/requirements.txt
  2. +4
    -0
      lib/sedna/README.md
  3. +5
    -1
      lib/sedna/__version__.py

+ 1
- 1
lib/requirements.txt View File

@@ -1,7 +1,7 @@
numpy>=1.13.3 # BSD
colorlog~=4.7.2 # MIT
websockets~=9.1 # BSD
requests==2.24.0 # Apache-2.0
requests>=2.24.0 # Apache-2.0
PyYAML~=5.4.1 # MIT
setuptools~=54.2.0
fastapi~=0.68.1 # MIT


+ 4
- 0
lib/sedna/README.md View File

@@ -29,6 +29,10 @@ pip install dist/sedna*.whl
Install via Setuptools

```bash
# Install dependence
pip install -r requirements.txt

# Install sedna
python setup.py install --user
```



+ 5
- 1
lib/sedna/__version__.py View File

@@ -13,7 +13,11 @@
# limitations under the License.

"""sedna version information."""
import os

with open("./VERSION", "r", encoding="utf-8") as fin:

_VERSION = os.path.join(os.path.dirname(__file__), "VERSION")

with open(_VERSION, "r", encoding="utf-8") as fin:
tmp = [line.strip() for line in fin if line.strip()]
__version__ = "-".join(tmp) if tmp else "dev"

Loading…
Cancel
Save