-
-
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 #11 from pyexcel/dev
maintenance fix
- Loading branch information
Showing
17 changed files
with
154 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: lint | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
name: lint code | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
- name: lint | ||
run: | | ||
pip --use-deprecated=legacy-resolver install flake8 | ||
pip --use-deprecated=legacy-resolver install -r tests/requirements.txt | ||
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . | ||
python setup.py checkdocs |
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,35 @@ | ||
name: Run unit tests on Windows, Ubuntu and Mac | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
test: | ||
name: ${{ matrix.os }} / ${{ matrix.python_version }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [Ubuntu] | ||
python_version: ["3.9.16"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
architecture: x64 | ||
|
||
- name: install | ||
run: | | ||
pip --use-deprecated=legacy-resolver install -r requirements.txt | ||
pip --use-deprecated=legacy-resolver install -r tests/requirements.txt | ||
- name: test | ||
run: | | ||
pip freeze | ||
nosetests --verbosity=3 --with-coverage --cover-package pyexcel_xlsxr --cover-package tests tests --with-doctest --doctest-extension=.rst README.rst pyexcel_xlsxr | ||
- name: Upload coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
name: ${{ matrix.os }} Python ${{ matrix.python-version }} |
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,23 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.12" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF | ||
formats: | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
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
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,6 +1,8 @@ | ||
|
||
|
||
No contributors yet | ||
======================= | ||
1 contributors | ||
================================================================================ | ||
|
||
* Your github link will be listed here after your PR is merged | ||
In alphabetical order: | ||
|
||
* `Mark Skelton <https://github.com/mtskelton>`_ |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pip install flake8 | ||
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs | ||
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = '0.6.0' | ||
__author__ = 'chfw' | ||
__version__ = '0.6.1' | ||
__author__ = 'C.W.' |
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 |
---|---|---|
|
@@ -31,15 +31,15 @@ | |
locale.setlocale(locale.LC_ALL, "en_US.UTF-8") | ||
|
||
NAME = "pyexcel-xlsxr" | ||
AUTHOR = "chfw" | ||
VERSION = "0.6.0" | ||
AUTHOR = "C.W." | ||
VERSION = "0.6.1" | ||
EMAIL = "[email protected]" | ||
LICENSE = "New BSD" | ||
DESCRIPTION = ( | ||
"Read xlsx file using partial xml" | ||
) | ||
URL = "https://github.com/pyexcel/pyexcel-xlsxr" | ||
DOWNLOAD_URL = "%s/archive/0.6.0.tar.gz" % URL | ||
DOWNLOAD_URL = "%s/archive/0.6.1.tar.gz" % URL | ||
FILES = ["README.rst", "CHANGELOG.rst"] | ||
KEYWORDS = [ | ||
"python", | ||
|
@@ -73,13 +73,14 @@ | |
} | ||
# You do not need to read beyond this line | ||
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable) | ||
GS_COMMAND = ("gs pyexcel-xlsxr v0.6.0 " + | ||
"Find 0.6.0 in changelog for more details") | ||
HERE = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
GS_COMMAND = ("gease pyexcel-xlsxr v0.6.1 " + | ||
"Find 0.6.1 in changelog for more details") | ||
NO_GS_MESSAGE = ("Automatic github release is disabled. " + | ||
"Please install gease to enable it.") | ||
UPLOAD_FAILED_MSG = ( | ||
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND) | ||
HERE = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
|
||
class PublishCommand(Command): | ||
|
@@ -125,7 +126,6 @@ def run(self): | |
"publish": PublishCommand | ||
}) | ||
|
||
|
||
def has_gease(): | ||
""" | ||
test if github release command is installed | ||
|