Skip to content

Commit b553d59

Browse files
committed
🤝 synchronize the organisational meta data
1 parent e170aee commit b553d59

15 files changed

+140
-129
lines changed

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: chfw
4+
patreon: chfw

.github/PULL_REQUEST_TEMPLATE.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
With your PR, here is a check list:
2+
3+
- [ ] Has Test cases written
4+
- [ ] Has all code lines tested
5+
- [ ] Has `make format` been run?
6+
- [ ] Has `moban` been run?
7+
- [ ] Passes all Travis CI builds
8+
- [ ] Has fair amount of documentation if your change is complex
9+
- [ ] run 'make format' so as to confirm the pyexcel organisation's coding style
10+
- [ ] Please update CHANGELOG.rst
11+
- [ ] Please add yourself to CONTRIBUTORS.rst
12+
- [ ] Agree on NEW BSD License for your contribution

.github/workflows/pythonpublish.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Upload Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: '3.x'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install setuptools wheel twine
20+
- name: Build and publish
21+
env:
22+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24+
run: |
25+
python setup.py sdist bdist_wheel
26+
twine upload dist/*
File renamed without changes.
File renamed without changes.
File renamed without changes.

.moban.yml

+4-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
1-
requires:
2-
- type: git
3-
url: https://github.com/moremoban/pypi-mobans
4-
submodule: true
5-
- https://github.com/pyexcel/pyexcel-mobans
1+
overrides: "git://github.com/pyexcel/pyexcel-mobans!/mobanfile.yaml"
62
configuration:
7-
configuration_dir: "pyexcel-mobans:config"
8-
template_dir:
9-
- "pyexcel-mobans:templates"
10-
- "pypi-mobans:templates"
11-
- ".moban.d"
123
configuration: pyexcel-pdfr.yml
134
targets:
14-
- README.rst: README.rst
15-
- setup.py: setup.py
16-
- requirements.txt: requirements.txt
5+
- README.rst: custom_readme.rst.jj2
6+
- setup.py: custom_setup.py.jj2
177
- MANIFEST.in: MANIFEST.in.jj2
18-
- "tests/requirements.txt": "tests/requirements.txt"
19-
- test.sh: test.script.jj2
20-
- test.bat: test.script.jj2
21-
- .gitignore: gitignore.jj2
8+
- "tests/requirements.txt": "tests/custom_req.txt.jj2"
229
- "docs/source/conf.py": "docs/source/conf.py.jj2"
2310
- "pyexcel_pdfr/_version.py": version.py.jj2
24-
- lint.sh: lint.script.jj2
25-
- output: CHANGELOG.rst
26-
configuration: changelog.yml
27-
template: CHANGELOG.rst.jj2

CHANGELOG.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Change log
44
0.5.0-rc1 - 14.03.2019
55
--------------------------------------------------------------------------------
66

7-
first release
8-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7+
**first release**
98

109
#. read tabular data out from pdf format

LICENSE

+2-26
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2017 by Onni Software Ltd. and its contributors
1+
Copyright (c) 2015-2019 by Onni Software Ltd. and its contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms of the software as well
@@ -13,13 +13,9 @@ that the following conditions are met:
1313
and/or other materials provided with the distribution.
1414

1515
* Neither the name of 'pyexcel-pdfr' nor the names of the contributors
16-
may not be used to endorse or promote products derived from this software
16+
may be used to endorse or promote products derived from this software
1717
without specific prior written permission.
1818

19-
Please also note that this library contains a few functions and test fixtures
20-
from messytables which is under MIT license and please see their license
21-
at the end.
22-
2319
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND
2420
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
2521
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -32,23 +28,3 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
3228
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3329
SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
3430
DAMAGE.
35-
36-
Copyright (c) 2012-2017 The Open Knowledge Foundation Ltd.
37-
38-
Permission is hereby granted, free of charge, to any person obtaining a copy of
39-
this software and associated documentation files (the "Software"), to deal in
40-
the Software without restriction, including without limitation the rights to
41-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
42-
of the Software, and to permit persons to whom the Software is furnished to do
43-
so, subject to the following conditions:
44-
45-
The above copyright notice and this permission notice shall be included in all
46-
copies or substantial portions of the Software.
47-
48-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54-
SOFTWARE.

README.rst

+26-23
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@ pyexcel-pdfr - Let you focus on data, instead of file formats
33
================================================================================
44

55
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
6-
:target: https://www.patreon.com/pyexcel
6+
:target: https://www.patreon.com/chfw
77

8-
.. image:: https://api.bountysource.com/badge/team?team_id=288537
9-
:target: https://salt.bountysource.com/teams/chfw-pyexcel
8+
.. image:: https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg
9+
:target: https://awesome-python.com/#specific-formats-processing
1010

1111
.. image:: https://travis-ci.org/pyexcel/pyexcel-pdfr.svg?branch=master
1212
:target: http://travis-ci.org/pyexcel/pyexcel-pdfr
1313

1414
.. image:: https://codecov.io/gh/pyexcel/pyexcel-pdfr/branch/master/graph/badge.svg
1515
:target: https://codecov.io/gh/pyexcel/pyexcel-pdfr
1616

17+
.. image:: https://badge.fury.io/py/pyexcel-pdfr.svg
18+
:target: https://pypi.org/project/pyexcel-pdfr
19+
20+
21+
.. image:: https://pepy.tech/badge/pyexcel-pdfr/month
22+
:target: https://pepy.tech/project/pyexcel-pdfr/month
23+
24+
1725
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
1826
:target: https://gitter.im/pyexcel/Lobby
1927

@@ -24,7 +32,7 @@ Support the project
2432
================================================================================
2533

2634
If your company has embedded pyexcel and its components into a revenue generating
27-
product, please support me on `patreon <https://www.patreon.com/bePatron?u=5537627>`_
35+
product, please support me on github, `patreon <https://www.patreon.com/bePatron?u=5537627>`_
2836
or `bounty source <https://salt.bountysource.com/teams/chfw-pyexcel>`_ to maintain
2937
the project and develop it further.
3038

@@ -107,38 +115,33 @@ On Windows systems, please issue this command::
107115

108116
> test.bat
109117

110-
How to update test environment and update documentation
118+
119+
Before you commit
120+
------------------------------
121+
122+
Please run::
123+
124+
$ make format
125+
126+
so as to beautify your code otherwise travis-ci may fail your unit test.
127+
128+
129+
And make sure you would have run moban command
111130
---------------------------------------------------------
112131

113132
Additional steps are required:
114133

115134
#. pip install moban
116-
#. git clone https://github.com/moremoban/setupmobans.git # generic setup
117-
#. git clone https://github.com/pyexcel/pyexcel-commons.git commons
118135
#. make your changes in `.moban.d` directory, then issue command `moban`
136+
#. moban
119137

120-
What is pyexcel-commons
121-
---------------------------------
122-
123-
Many information that are shared across pyexcel projects, such as: this developer guide, license info, etc. are stored in `pyexcel-commons` project.
138+
otherwise travis-ci may also fail your unit test.
124139

125140
What is .moban.d
126141
---------------------------------
127142

128143
`.moban.d` stores the specific meta data for the library.
129144

130-
Acceptance criteria
131-
-------------------
132-
133-
#. Has Test cases written
134-
#. Has all code lines tested
135-
#. Passes all Travis CI builds
136-
#. Has fair amount of documentation if your change is complex
137-
#. run 'make format' so as to confirm the pyexcel organisation's coding style
138-
#. Please update CHANGELOG.rst
139-
#. Please add yourself to CONTRIBUTORS.rst
140-
#. Agree on NEW BSD License for your contribution
141-
142145

143146

144147
License

docs/source/conf.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# This file only contains a selection of the most common options. For a full
99
# list see the documentation:
10-
# http://www.sphinx-doc.org/en/master/config
10+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
1111

1212
# -- Path setup --------------------------------------------------------------
1313

@@ -21,9 +21,9 @@
2121

2222
# -- Project information -----------------------------------------------------
2323

24-
project = 'pyexcel'
25-
copyright = 'copyright 2015-2019 Onni Software Ltd.'
26-
author = 'Onni Software Ltd.'
24+
project = 'pyexcel-pdfr'
25+
copyright = '2015-2019 Onni Software Ltd.'
26+
author = 'C.W.'
2727
# The short X.Y version
2828
version = '0.5.0-rc1'
2929
# The full version, including alpha/beta/rc tags
@@ -68,7 +68,7 @@
6868
# -- Options for intersphinx extension ---------------------------------------
6969

7070
# Example configuration for intersphinx: refer to the Python standard library.
71-
intersphinx_mapping = {'https://docs.python.org/': None}
71+
intersphinx_mapping = {'https://docs.python.org/3/': None}
7272
# TODO: html_theme not configurable upstream
7373
html_theme = 'default'
7474

@@ -83,3 +83,4 @@
8383
intersphinx_mapping.update({
8484
'pyexcel': ('http://pyexcel.readthedocs.io/en/latest/', None),
8585
})
86+
master_doc = "index"

lint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
flake8 . --exclude=.moban.d,docs --builtins=unicode,xrange,long
1+
pip install flake8
2+
flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long

pyexcel_pdfr/_version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.5.0-rc1"
2-
__author__ = "C.W."
1+
__version__ = '0.5.0-rc1'
2+
__author__ = 'C.W.'

0 commit comments

Comments
 (0)