Skip to content

Commit 898b2ec

Browse files
committed
🎉 pypi-mobans-pkg
1 parent adb3518 commit 898b2ec

14 files changed

+600
-0
lines changed

.gitignore

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "pypi_mobans/resources"]
2+
path = pypi_mobans/resources
3+
url = https://github.com/moremoban/pypi-mobans

.moban.d/CUSTOM_README.rst.jj2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends 'README.rst.jj2' %}
2+
3+
{% block documentation_link %}
4+
{% endblock %}
5+
6+
{% block features %}The project packages `pypi-mobans <https://github.com/moremoban/pypi>`_ and distributes it via pypi.
7+
{% endblock %}

.moban.d/custom_setup.py.jj2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "setup.py.jj2" %}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{% extends "tests/requirements.txt.jj2" %}
2+
3+
{%block extras %}
4+
{%endblock%}

.moban.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
configuration:
2+
template_dir:
3+
- ".moban.d"
4+
- "mobans/templates"
5+
configuration: "pypi-mobans.yml"
6+
targets:
7+
- "README.rst": CUSTOM_README.rst.jj2
8+
- "LICENSE": NEW_BSD_LICENSE.jj2
9+
- "setup.py": custom_setup.py.jj2
10+
- "requirements.txt": requirements.txt.jj2
11+
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
12+
- "docs/source/conf.py": "docs/source/conf.py.jj2"
13+
- "test.sh": test.script.jj2
14+
- "pypi_mobans/_version.py": "_version.py.jj2"
15+
- .gitignore: gitignore.jj2
16+
- .travis.yml: travis.yml.jj2
17+
- output: "CHANGELOG.rst"
18+
configuration: changelog.yml
19+
template: CHANGELOG.rst.jj2

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo: false
2+
language: python
3+
notifications:
4+
email: false
5+
python:
6+
- pypy-5.3.1
7+
- 3.7-dev
8+
- 3.6
9+
- 3.5
10+
- 3.4
11+
- 2.7
12+
before_install:
13+
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
14+
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
15+
mv min_requirements.txt requirements.txt ;
16+
fi
17+
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
18+
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
19+
- pip install -r tests/requirements.txt
20+
script:
21+
- make test
22+
after_success:
23+
codecov

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Change log
2+
================================================================================
3+
4+
0.0.1 - unreleased
5+
--------------------------------------------------------------------------------
6+
7+
First release
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
#. use pypi as pacakge distribution source
11+
#. versioning is applied

README.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
================================================================================
2+
pypi-mobans
3+
================================================================================
4+
5+
.. image:: https://api.travis-ci.org/moremoban/pypi-mobans.svg
6+
:target: http://travis-ci.org/moremoban/pypi-mobans
7+
8+
.. image:: https://codecov.io/github/moremoban/pypi-mobans/coverage.png
9+
:target: https://codecov.io/github/moremoban/pypi-mobans
10+
11+
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
12+
:target: https://gitter.im/chfw_moban/Lobby
13+
14+
15+
The project packages `pypi-mobans <https://github.com/moremoban/pypi>`_ and distributes it via pypi.
16+
17+
Installation
18+
================================================================================
19+
20+
You can get it:
21+
22+
.. code-block:: bash
23+
24+
$ git clone https://github.com/moremoban/pypi-mobans.git
25+
$ cd pypi-mobans

changelog.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "pypi-mobans"
2+
organisation: moremoban
3+
releases:
4+
- changes:
5+
- action: First release
6+
details:
7+
- use pypi as pacakge distribution source
8+
- versioning is applied
9+
date: unreleased
10+
version: 0.0.1
11+

0 commit comments

Comments
 (0)