-
Notifications
You must be signed in to change notification settings - Fork 6
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
MAINT: pyproject.toml, docs #129
Merged
Merged
Changes from 39 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
71a62be
MAINT: migrate to pyproject.toml
jklenzing 03eefb0
MAINT: one version
jklenzing 16c924a
DOC: update changelog
jklenzing e71fce4
TST: try new docs install
jklenzing 172c325
STY: docstring
jklenzing f6a774a
DOC/BUG: update docs
jklenzing 4f6bad4
TST: update main job
jklenzing 2e42767
TST: remove pysatcdf
jklenzing ab26d38
MAINT: drop requirements files
jklenzing 4ac4167
BUG: install flake8
jklenzing 64496cf
STY: whitespace
jklenzing 1301eee
STY: group optional dependencies
jklenzing 2788454
DOC: show optional requirements
jklenzing 2a8b50c
TST: improve nep29
jklenzing 4b2a317
TST: optional pysatcdf
jklenzing cd7a86f
Update main.yml
jklenzing a7e8f73
Merge branch 'develop' into sty/pyproject
jklenzing d48ff06
STY: cleanup
jklenzing e22664b
BUG: optional pysatCDF
jklenzing 9faf534
Merge branch 'develop' into sty/pyproject
jklenzing e38bcd5
STY: clean up reqs
jklenzing fc14e62
STY: restore backup requirement lists
jklenzing 2a321e8
Merge branch 'develop' into sty/pyproject
jklenzing 1e7e65a
MAINT: delete version
jklenzing 617e18c
Merge branch 'develop' into sty/pyproject
jklenzing b0d6f08
Merge branch 'develop' into sty/pyproject
jklenzing 92846cb
Apply suggestions from code review
jklenzing 08000ab
DOC: update docs
jklenzing 23da8f8
TST: update tested versions
jklenzing a856767
DOC: update meta
jklenzing de9efbb
Merge branch 'tst/rc_fix' into sty/pyproject
jklenzing 04e0909
Merge branch 'tst/rc_fix' into sty/pyproject
jklenzing 1d48f49
BUG: operational tests
jklenzing 859635b
Update main.yml
jklenzing 0149729
BUG: quotes
jklenzing e0ffbad
Update main.yml
jklenzing f554299
Update __init__.py
jklenzing edd0c41
Update __init__.py
jklenzing ba59f29
Update pyproject.toml
jklenzing 771939d
Update pyproject.toml
jklenzing 879f3a5
Update setup.cfg
jklenzing 5e0cd34
Update setup.cfg
jklenzing df393f4
Merge branch 'tst/rc_fix' into sty/pyproject
jklenzing f86fd9d
STY: update meta
jklenzing 2b41e01
BUG: fix metadata
jklenzing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
File renamed without changes
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 |
---|---|---|
|
@@ -40,24 +40,32 @@ Installation Options | |
|
||
|
||
2. Install pysatNASA: | ||
Change directories into the repository folder and run the setup.py file. | ||
Change directories into the repository folder and build the project. | ||
There are a few ways you can do this: | ||
|
||
A. Install on the system (root privileges required):: | ||
|
||
|
||
sudo python setup.py install | ||
sudo pip install . | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you might need to run |
||
|
||
B. Install at the user level:: | ||
|
||
|
||
python setup.py install --user | ||
C. Install with the intent to develop locally:: | ||
pip install --user . | ||
|
||
C. Install with the intent to change the code:: | ||
|
||
|
||
pip install --user -e . | ||
|
||
.. extras-require:: pysatcdf | ||
:pyproject: | ||
|
||
python setup.py develop --user | ||
.. extras-require:: test | ||
:pyproject: | ||
|
||
.. extras-require:: all | ||
:setup.cfg: | ||
.. extras-require:: doc | ||
:pyproject: | ||
|
||
.. _post-install: | ||
|
||
|
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,88 @@ | ||
[build-system] | ||
requires = ["setuptools >= 38.6", "pip >= 10"] | ||
build-backend = "setuptools.build_meta" | ||
jklenzing marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
[project] | ||
name = "pysatNASA" | ||
version = "0.0.5" | ||
description = "pysat support for NASA Instruments" | ||
readme = "README.md" | ||
requires-python = ">=3.6" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Jeff Klenzing, et al.", email = "[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Topic :: Scientific/Engineering :: Astronomy", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Scientific/Engineering :: Atmospheric Science", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows" | ||
] | ||
keywords = [ | ||
"pysat", | ||
"ionosphere", | ||
"magnetosphere", | ||
"solar wind", | ||
"thermosphere" | ||
] | ||
dependencies = [ | ||
"beautifulsoup4", | ||
"cdasws", | ||
"cdflib >= 0.4.4", | ||
"lxml", | ||
"netCDF4", | ||
"numpy", | ||
"pandas", | ||
"pysat >= 3.0.4", | ||
"requests", | ||
"xarray" | ||
] | ||
|
||
[project.optional-dependencies] | ||
pysatcdf = ["pysatCDF"] | ||
test = [ | ||
"coveralls < 3.3", | ||
"flake8", | ||
"flake8-docstrings", | ||
"hacking >= 1.0", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-ordering" | ||
] | ||
doc = [ | ||
"extras_require", | ||
"ipython", | ||
"m2r2", | ||
"numpydoc", | ||
"sphinx", | ||
"sphinx_rtd_theme" | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://pysatnasa.readthedocs.io/en/latest/" | ||
Source = "https://github.com/pysat/pysatNASA" | ||
|
||
[tool.coverage.report] | ||
omit = ["*/instruments/templates/"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-vs --cov=pysatNASA" | ||
markers = [ | ||
"all_inst", | ||
"download", | ||
"no_download", | ||
"load_options", | ||
"first", | ||
"second" | ||
] |
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 was deleted.
Oops, something went wrong.
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,10 +1,10 @@ | ||
netCDF4 | ||
requests | ||
beautifulsoup4 | ||
lxml | ||
cdasws | ||
cdflib>=0.4.4 | ||
lxml | ||
netCDF4 | ||
numpy | ||
pandas | ||
pysat>=3.0.4 | ||
cdasws | ||
requests | ||
xarray |
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,69 +1,6 @@ | ||
[metadata] | ||
name = pysatNASA | ||
version = file: pysatNASA/version.txt | ||
url = https://github.com/pysat/pysatNASA | ||
author = Jeff Klenzing | ||
author_email = [email protected] | ||
description = 'pysat support for NASA Instruments' | ||
keywords = | ||
pysat | ||
ionosphere | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Topic :: Scientific/Engineering :: Physics | ||
Topic :: Scientific/Engineering :: Atmospheric Science | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: BSD License | ||
Natural Language :: English | ||
Programming Language :: Python :: 3.5 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Operating System :: MacOS :: MacOS X | ||
Operating System :: POSIX :: Linux | ||
license_file = LICENSE | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
|
||
[options] | ||
python_requires = >= 3.5 | ||
setup_requires = | ||
setuptools >= 38.6 | ||
pip >= 10 | ||
include_package_data = True | ||
zip_safe = False | ||
packages = find: | ||
install_requires = | ||
cdasws | ||
netCDF4 | ||
requests | ||
beautifulsoup4 | ||
lxml | ||
cdflib | ||
numpy | ||
pandas | ||
xarray | ||
pysat | ||
|
||
[options.extras_require] | ||
all = | ||
pysatCDF | ||
|
||
[coverage:report] | ||
omit = | ||
*/instruments/templates/ | ||
|
||
[flake8] | ||
max-line-length = 80 | ||
ignore = | ||
D200 | ||
D202 | ||
W503 | ||
|
||
[tool:pytest] | ||
markers = | ||
all_inst: tests all instruments | ||
download: tests for downloadable instruments | ||
no_download: tests for instruments without download support | ||
load_options: tests for instruments with additional options | ||
first: first tests to run | ||
second: second tests to run |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, there's a better way to manage files and stuff in packages now. See the stuff here: aburrell/apexpy#123
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to implement this in the docs. I don't have a package to refer to