Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renaming python package to pylerc + doc updated #241

Merged
merged 1 commit into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions OtherLanguages/Python/lerc/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## `pylerc` is the LERC Python package

LERC is an open-source raster format which supports rapid encoding and decoding for any pixel type, with user-set maximum compression error per pixel.

# What's new in Lerc 4.0?

## Option 1, uses numpy masked array
Expand Down
11 changes: 5 additions & 6 deletions OtherLanguages/Python/setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import setuptools
import os

from glob import glob
from os.path import basename, exists, join, getmtime
from shutil import copyfile

dir_path = os.path.dirname(os.path.realpath(__file__))
readme_path = os.path.join(dir_path, "..", "..", "README.md")
readme_path = join("lerc", "README.md")

try:
with open(readme_path, "r") as fh:
Expand All @@ -28,16 +26,17 @@
copyfile(input_binary, output_binary)

setuptools.setup(
name="lerc",
name="pylerc",
version="4.0",
author="esri",
author_email="python@esri.com",
description="Limited Error Raster Compression",
# long_description=long_description,
# long_description_content_type="text/markdown",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache 2",
url="https://github.com/Esri/lerc",
packages=setuptools.find_packages(),
install_requires=["numpy"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Check out the Lerc decoders and encoders in `OtherLanguages/`. You may need to a

### Other download sites

- [Lerc for Python / Conda](https://anaconda.org/Esri/lerc)
- Lerc for Python (pylerc): [Conda](https://anaconda.org/Esri/pylerc) / [PyPI](https://pypi.org/project/pylerc/) (Note: The python package name is being renamed from `lerc` to `pylerc` in the next release- currently available under both names. However, the import name will remain the same (ie. `import lerc`).
- [Lerc for JavaScript / npm](https://www.npmjs.com/package/lerc)
- [Lerc conda-forge install](https://anaconda.org/conda-forge/lerc)

Expand Down
4 changes: 2 additions & 2 deletions build/conda/lerc/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package:
name: lerc
name: pylerc
version: 4.0

build:
Expand All @@ -25,7 +25,7 @@ test:

about:
description: |
LERC is an open-source raster format which supports rapid encoding and decoding
pylerc is the LERC Python package. LERC is an open-source raster format which supports rapid encoding and decoding
for any pixel type, with user-set maximum compression error per pixel.
home: https://esri.github.io/lerc/
dev_url: https://github.com/Esri/lerc
Expand Down