-
-
Notifications
You must be signed in to change notification settings - Fork 20
Updated package infrastructure #24
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
44cc4a6
Updated package infrastructure - including using setup.cfg, setting u…
astrofrog 10788a2
Remove AppVeyor configuration
astrofrog 844bbfc
Force update Python
astrofrog 70909d3
Fix syntax
saimn 8cf185c
Add markers to setup.cfg
astrofrog b924a83
CI: use setup_python.sh
astrofrog 02812a6
CI: Remove Python update
astrofrog c9bd931
Remove code for unsupported pytest versions
astrofrog 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 hidden or 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,95 +1,63 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Python template | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
# Compiled files | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.a | ||
*.o | ||
*.so | ||
*.pyd | ||
__pycache__ | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
# Ignore .c files by default to avoid including generated code. If you want to | ||
# add a non-generated .c extension, use `git add -f filename.c`. | ||
*.c | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
# Other generated files | ||
MANIFEST | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
# Sphinx | ||
_build | ||
_generated | ||
docs/api | ||
docs/generated | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
# Packages/installer info | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
.eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
.installed.cfg | ||
distribute-*.tar.gz | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
# Other | ||
.cache | ||
.tox | ||
.*.swp | ||
.*.swo | ||
*~ | ||
.project | ||
.pydevproject | ||
.settings | ||
.coverage | ||
cover | ||
htmlcov | ||
.pytest_cache | ||
|
||
# dotenv | ||
# Env | ||
.venv | ||
venv | ||
.env | ||
|
||
# virtualenv | ||
.venv/ | ||
venv/ | ||
ENV/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
# Mac OSX | ||
.DS_Store | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# PyCharm project settings | ||
# PyCharm | ||
.idea | ||
|
||
*/version.py | ||
pip-wheel-metadata/ |
This file contains hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
[build-system] | ||
requires = ["setuptools>=30.3.0", | ||
"setuptools_scm", | ||
"wheel"] | ||
build-backend = 'setuptools.build_meta' |
This file contains hidden or 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 +1,3 @@ | ||
__version__ = '0.4.dev0' | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
|
||
from .version import version as __version__ # noqa |
This file contains hidden or 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 hidden or 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,48 @@ | ||
[metadata] | ||
name = pytest-arraydiff | ||
url = https://github.com/astrofrog/pytest-arraydiff | ||
author = The Astropy Developers | ||
author_email = [email protected] | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Framework :: Pytest | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: BSD License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: Implementation :: CPython | ||
Topic :: Software Development :: Testing | ||
Topic :: Utilities | ||
license = BSD | ||
description = pytest plugin to help with comparing array output from tests | ||
long_description = file: README.rst | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
python_requires = >=3.6 | ||
setup_requires = | ||
setuptools_scm | ||
install_requires = | ||
pytest>=4.6 | ||
numpy | ||
astropy | ||
|
||
[options.entry_points] | ||
pytest11 = | ||
pytest_arraydiff = pytest_arraydiff.plugin | ||
|
||
[tool:pytest] | ||
minversion = 4.6 | ||
testpaths = tests | ||
xfail_strict = true | ||
markers = | ||
array_compare : for functions using array comparison | ||
|
||
[flake8] | ||
max-line-length = 100 |
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.
Uh oh!
There was an error while loading. Please reload this page.