Skip to content

Commit

Permalink
🤝 break away from shared mobanfile with pyexcel-mobans
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Oct 16, 2020
1 parent fa467fd commit 6b39b7c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,23 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
sudo pip install pytest
sudo apt-get update
sudo apt-get install -y gcc-multilib
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y gcc
sudo apt-get install -y valgrind
git clone https://github.com/jmcnamara/libxlsxwriter.git
cd libxlsxwriter
make
sudo make install
cd ../
rm libxlsxwriter/ -rf
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python setup.py sdist
twine upload dist/*
20 changes: 20 additions & 0 deletions .moban.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
overrides: "git://github.com/pyexcel/pyexcel-mobans!/mobanfile.yaml"
configuration:
configuration_dir: "git://github.com/pyexcel/pyexcel-mobans!/config"
template_dir:
- "git://github.com/moremoban/pypi-mobans.git?submodule=true&brach=dev!/statics"
- "git://github.com/moremoban/pypi-mobans.git?branch=dev&submodule=true!/templates"
- "git://github.com/pyexcel/pyexcel-mobans.git!/templates"
- "git://github.com/pyexcel/pyexcel-mobans.git!/statics"
- ".moban.d"
configuration: libxlsxwpy.yml
targets:
- requirements.txt: requirements.txt.jj2
- "tests/requirements.txt": "tests/requirements.txt.jj2"
- output: CHANGELOG.rst
configuration: changelog.yml
template: CHANGELOG.rst.jj2
- LICENSE: newbsd_license.jj2
- lint.sh: lint.script.jj2
- ".github/FUNDING.yml": "FUNDING.yml"
- ".github/PULL_REQUEST_TEMPLATE.md": PULL_REQUEST_TEMPLATE.md.jj2
- ".github/workflows/moban-update.yml": "moban-update.yml"
- Makefile: Makefile.jj2
- format.sh: format.sh.jj2
- CONTRIBUTORS.rst: CONTRIBUTORS.rst.jj2
- README.rst: custom_README.rst.jj2
- setup.py: custom_setup.py.jj2

0 comments on commit 6b39b7c

Please sign in to comment.