-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from fabianazioti/b-1.0-alpha
improve command line interface
- Loading branch information
Showing
19 changed files
with
571 additions
and
436 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
[project] | ||
name = "wlts" | ||
description = "." | ||
readme = "README.rst" | ||
requires-python = ">=3.8" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Brazil Data Cube Team", email = "[email protected]"}, | ||
] | ||
keywords = [ | ||
"lulc" | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License version 3 License", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
version="1.2.0" | ||
dependencies = [ | ||
"Click>=7.0", | ||
"Jinja2>=2.11.1", | ||
"descartes>=1.1.0", | ||
"shapely>=1.7.1", | ||
"pandas>=1.1", | ||
"geopandas>=0.8.2", | ||
"plotly==5.5.0", | ||
"rich>=13.9.2", | ||
"lccs @ git+https://github.com/brazil-data-cube/[email protected]", | ||
"rich>=10.0.0", | ||
"httpx>=0.19.0", | ||
] | ||
|
||
# Extras Dependencies | ||
[project.optional-dependencies] | ||
dev = ["pre-commit"] | ||
docs = [ | ||
"Sphinx>=7.0", | ||
"sphinx_rtd_theme", | ||
"sphinx-copybutton", | ||
"sphinx-tabs", | ||
] | ||
tests = [ | ||
"coverage>=6.4", | ||
"coveralls>=3.3", | ||
"pytest>=7.4", | ||
"pytest-cov>=4.1", | ||
"pytest-pep8>=1.0", | ||
"pydocstyle>=4.0", | ||
"isort>4.3", | ||
"check-manifest>=0.40", | ||
] | ||
all = ["wlts[docs,tests]"] | ||
## End extras dependencies | ||
|
||
[build-system] | ||
requires = ["setuptools>=67.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["wlts*"] | ||
exclude = ["tests*"] | ||
namespaces = false | ||
|
||
[tool.setuptools.package-data] | ||
"wlts" = ["py.typed"] | ||
|
||
[project.scripts] | ||
wlts-cli = "wlts.cli:cli" |
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 |
---|---|---|
|
@@ -18,97 +18,6 @@ | |
|
||
"""Python Client Library for the Web Land Trajectory Service.""" | ||
|
||
import os | ||
from setuptools import setup | ||
|
||
from setuptools import find_packages, setup | ||
|
||
readme = open('README.rst').read() | ||
|
||
history = open('CHANGES.rst').read() | ||
|
||
docs_require = [ | ||
'Sphinx>=2.2', | ||
'sphinx_rtd_theme', | ||
'sphinx-copybutton', | ||
] | ||
|
||
tests_require = [ | ||
'coverage>=4.5', | ||
'pytest>=5.2', | ||
'pytest-cov>=2.8', | ||
'requests-mock[fixture]', | ||
'pytest-pep8>=1.0', | ||
'pydocstyle>=4.0', | ||
'isort>4.3', | ||
'check-manifest>=0.40', | ||
'requests-mock>=1.7.0' | ||
] | ||
|
||
extras_require = { | ||
'docs': docs_require, | ||
'tests': tests_require, | ||
} | ||
|
||
extras_require['all'] = [ req for exts, reqs in extras_require.items() for req in reqs ] | ||
|
||
setup_requires = [ | ||
'pytest-runner>=5.2', | ||
] | ||
|
||
install_requires = [ | ||
'requests>=2.20', | ||
'Click>=7.0', | ||
'Jinja2>=2.11.1', | ||
'descartes>=1.1.0', | ||
'shapely>=1.7.1', | ||
'pandas>=1.1', | ||
'geopandas>=0.8.2', | ||
'plotly==5.5.0', | ||
'lccs @ git+https://github.com/brazil-data-cube/[email protected]', | ||
] | ||
|
||
packages = find_packages() | ||
|
||
with open(os.path.join('wlts', 'version.py'), 'rt') as fp: | ||
g = {} | ||
exec(fp.read(), g) | ||
version = g['__version__'] | ||
|
||
setup( | ||
name='wlts', | ||
version=version, | ||
description=__doc__, | ||
long_description=readme + '\n\n' + history, | ||
keywords=['Land Use Land Cover', 'GIS', 'Web Services', 'OGC WFS', 'OGC WCS', 'Web Time Series Service'], | ||
license='GPLv3', | ||
author='Brazil Data Cube Team', | ||
author_email='[email protected]', | ||
url='https://github.com/brazil-data-cube/wlts.py', | ||
packages=packages, | ||
zip_safe=False, | ||
include_package_data=True, | ||
platforms='any', | ||
entry_points={ | ||
'console_scripts': [ | ||
'wlts-cli = wlts.cli:cli', | ||
], | ||
}, | ||
extras_require=extras_require, | ||
install_requires=install_requires, | ||
setup_requires=setup_requires, | ||
tests_require=tests_require, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Education', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Topic :: Scientific/Engineering :: GIS', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
], | ||
) | ||
setup() |
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
Oops, something went wrong.