-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: corrections to setup.cfg; use "pytest"; add "make dist" target (#…
…534) * MNT: corrections to setup.cfg; use "pytest"; add "make dist" target * CI: remove 'python setup.py clean' command; correction to extras require * CI: enable "twine check --strict" now that warning is resolved
- Loading branch information
Showing
7 changed files
with
18 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,13 @@ | |
author = rioxarray Contributors | ||
author_email = [email protected] | ||
name = rioxarray | ||
version = attr: rioxarray._version.__version__ | ||
description = geospatial xarray extension powered by rasterio | ||
keywords = rioxarray, xarray, rasterio | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
license = Apache | ||
license_file = LICENSE | ||
license_files = LICENSE | ||
platform = any | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
|
@@ -72,6 +74,3 @@ all = | |
%(doc)s | ||
%(test)s | ||
%(dev)s | ||
|
||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
"""The setup script.""" | ||
from pathlib import Path | ||
|
||
from setuptools import setup | ||
|
||
|
||
def get_version(): | ||
""" | ||
retreive rioxarray version information in version variable | ||
(taken from pyproj) | ||
""" | ||
with Path("rioxarray", "_version.py").open() as vfh: | ||
for line in vfh: | ||
if line.find("__version__") >= 0: | ||
# parse __version__ and remove surrounding " or ' | ||
return line.split("=", maxsplit=2)[1].strip()[1:-1] | ||
raise SystemExit("ERROR: rioxarray version not found.") | ||
|
||
|
||
setup(version=get_version()) | ||
setup() |