Skip to content

Commit db2bbd6

Browse files
committed
🔥 make pypi-package an independent repo
1 parent c6e7141 commit db2bbd6

19 files changed

+33
-503
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,4 @@ mobans/
475475
pypi-package/README.rst
476476
pypi-package/pypi_mobans/resources/
477477
pypi-package/test.sh
478+
pypi-package/CHANGELOG.rst

.moban.dt/CUSTOM_README.rst.jj2

Lines changed: 0 additions & 53 deletions
This file was deleted.

.moban.dt/pypi_gitignore.jj2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ mobans/
66
pypi-package/README.rst
77
pypi-package/pypi_mobans/resources/
88
pypi-package/test.sh
9+
pypi-package/CHANGELOG.rst
910
{%endblock%}

.moban.dt/tests/custom_requirements.txt.jj2

Lines changed: 0 additions & 4 deletions
This file was deleted.

CHANGELOG.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
Change log
2-
===========
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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pypi-mobans
1212
:target: https://gitter.im/chfw_moban/Lobby
1313

1414

15-
Scaffolding mobans for your Python project.
15+
Scaffolding templates for your Python project.
1616
It is used with `yehua <https://github.com/chfw/yehua>`_.
1717
Organisations using it:
1818

@@ -47,14 +47,15 @@ You can get it:
4747
$ git clone https://github.com/moremoban/pypi-mobans.git
4848
$ cd pypi-mobans
4949
50-
File organisation
50+
Maintenance
5151
================================================================================
5252

5353
`mobans` lives in `templates` folder. python package lives in `pypi-package`
5454
folder. `upstreaming.yml` is used to upstream sphinx templates into pypi-mobans.
55+
Everything else are meta data.
5556

56-
57-
Everything else are meta data.
57+
`moban -m mobanfile` will update all meta files including the files in
58+
`pypi-package`
5859

5960
Notes
6061
================================================================================

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+

mobanfile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@ configuration:
22
template_dir:
33
- ".moban.dt"
44
- "mobans/templates"
5-
configuration: "pypi-mobans.yml"
5+
configuration: config/data.yml
66
targets:
77
- .gitignore: pypi_gitignore.jj2
88
- LICENSE: NEW_BSD_LICENSE.jj2
99
- README.rst: INDEX_README.rst.jj2
10-
- "pypi-package/README.rst": CUSTOM_README.rst.jj2
11-
- "pypi-package/LICENSE": NEW_BSD_LICENSE.jj2
12-
- "pypi-package/setup.py": custom_setup.py.jj2
13-
- "pypi-package/requirements.txt": requirements.txt.jj2
14-
- "pypi-package/tests/requirements.txt": "tests/custom_requirements.txt.jj2"
15-
- "pypi-package/docs/source/conf.py": "docs/source/conf.py.jj2"
16-
- "pypi-package/test.sh": test.script.jj2
17-
- "pypi-package/pypi_mobans/_version.py": "_version.py.jj2"
18-
copy:
19-
- "pypi-package/pypi_mobans/resources/templates": ../templates/**
10+
- output: CHANGELOG.rst
11+
configuration: changelog.yml
12+
template: CHANGELOG.rst.jj2

pypi-package/LICENSE

Lines changed: 0 additions & 30 deletions
This file was deleted.

pypi-package/MANIFEST.in

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)