Skip to content

Commit bcbaa6c

Browse files
committed
Initial version
0 parents  commit bcbaa6c

26 files changed

+3393
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
spaceplot/_version.py export-subst

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.cache
2+
.tox
3+
spaceplot.egg-info
4+
_build
5+
.coverage
6+
dist
7+
build
8+
.pytest_cache

.travis.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
language: python
2+
branches:
3+
only:
4+
# This is where pull requests from "bors r+" are built.
5+
- staging
6+
# This is where pull requests from "bors try" are built.
7+
- trying
8+
# Uncomment this to enable building pull requests.
9+
- master
10+
11+
sudo: false
12+
13+
cache:
14+
directories:
15+
- $HOME/.cache/pip
16+
17+
matrix:
18+
include:
19+
- python: 3.4
20+
env:
21+
- TOXENV=py34
22+
- python: 3.5
23+
env:
24+
- TOXENV=py35
25+
- python: 3.6
26+
env:
27+
- TOXENV=py36
28+
- python: 3.5
29+
env:
30+
- TOXENV=flake8
31+
- python: 3.5
32+
env:
33+
- TOXENV=pylint
34+
- python: 3.5
35+
env:
36+
- TOXENV=docs
37+
- python: 3.5
38+
env:
39+
- TOXENV=doctest
40+
- python: 3.5
41+
env:
42+
- TOXENV=check-manifest
43+
- python: 3.5
44+
env:
45+
- TOXENV=checkreadme
46+
47+
before_install:
48+
- pip install codecov # for coverage
49+
50+
install:
51+
- pip install tox
52+
53+
script:
54+
- tox
55+
56+
after_success:
57+
- codecov

CONTRIBUTING.md

Whitespace-only changes.

LICENSE.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2018, James Tocknell
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the <organization> nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
include versioneer.py spaceplot/_version.py
2+
include DESCRIPTION.rst
3+
include README.md
4+
include LICENSE.txt
5+
include code_of_conduct.md
6+
include CONTRIBUTING.md
7+
recursive-include docs *
8+
recursive-exclude docs/_build *
9+
include doc-requirements.txt
10+
include test-requirements.txt
11+
recursive-include tests *.py
12+
recursive-include paper *
13+
include pylintrc
14+
include tox.ini
15+
include pypi-intro.rst
16+
exclude appveyor.yml
17+
exclude bors.toml

README.md

Whitespace-only changes.

appveyor.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# from https://packaging.python.org/en/latest/appveyor/
2+
branches:
3+
only:
4+
# This is where pull requests from "bors r+" are built.
5+
- staging
6+
# This is where pull requests from "bors try" are built.
7+
- trying
8+
# Uncomment this to enable building pull requests.
9+
- master
10+
environment:
11+
matrix:
12+
13+
# For Python versions available on Appveyor, see
14+
# http://www.appveyor.com/docs/installed-software#python
15+
# The list here is complete (excluding Python 2.6, which
16+
# isn't covered by this document) at the time of writing.
17+
18+
- PYTHON: "C:\\Python34"
19+
TOXENV: "py34"
20+
TOXPYTHON: "%PYTHON%\\python.exe"
21+
22+
- PYTHON: "C:\\Python35"
23+
TOXENV: "py35"
24+
TOXPYTHON: "%PYTHON%\\python.exe"
25+
26+
- PYTHON: "C:\\Python36"
27+
TOXENV: "py36"
28+
TOXPYTHON: "%PYTHON%\\python.exe"
29+
30+
- PYTHON: "C:\\Python34-x64"
31+
TOXENV: "py34"
32+
TOXPYTHON: "%PYTHON%\\python.exe"
33+
34+
- PYTHON: "C:\\Python35-x64"
35+
TOXENV: "py35"
36+
TOXPYTHON: "%PYTHON%\\python.exe"
37+
38+
- PYTHON: "C:\\Python36-x64"
39+
TOXENV: "py36"
40+
TOXPYTHON: "%PYTHON%\\python.exe"
41+
42+
install:
43+
# We need wheel installed to build wheels
44+
- "%PYTHON%\\python.exe -m pip install --upgrade wheel pip setuptools"
45+
- "py -3.5 -m pip install --upgrade wheel pip setuptools"
46+
- "py -3.5 -m pip install tox codecov"
47+
48+
build: off
49+
50+
test_script:
51+
# Put your test command here.
52+
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
53+
# you can remove "build.cmd" from the front of the command, as it's
54+
# only needed to support those cases.
55+
# Note that you must use the environment variable %PYTHON% to refer to
56+
# the interpreter you're using - Appveyor does not do anything special
57+
# to put the Python evrsion you want to use on PATH.
58+
- "py -3.5 -m tox"
59+
60+
# This is commented out as there's no easy way to deal with numpy dropping
61+
# older python versions without a recent pip/setuptools.
62+
#after_test:
63+
# # This step builds your wheels.
64+
# # Again, you only need build.cmd if you're building C extensions for
65+
# # 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
66+
# # interpreter
67+
# - "ci\\appveyor\\build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
68+
#
69+
#artifacts:
70+
# # bdist_wheel puts your built wheel in the dist directory
71+
# - path: dist\*
72+
73+
cache:
74+
- "%LOCALAPPDATA%\\pip\\Cache"
75+
76+
on_success:
77+
- "py -3.5 -m codecov"

bors.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
status = [
2+
"continuous-integration/travis-ci/push",
3+
"continuous-integration/appveyor/branch"
4+
]

code_of_conduct.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [https://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: https://contributor-covenant.org
74+
[version]: https://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)