Skip to content

Commit 26b0871

Browse files
committed
🎨 custom update
1 parent db2bbd6 commit 26b0871

File tree

2 files changed

+48
-18
lines changed

2 files changed

+48
-18
lines changed

.moban.dt/INDEX_README.rst.jj2

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,54 @@
1-
{% extends "CUSTOM_README.rst.jj2" %}
1+
{% extends 'README.rst.jj2' %}
22

3+
{% block documentation_link %}
4+
{% endblock %}
5+
6+
{% block features %}
7+
{{description}}
8+
It is used with `yehua <https://github.com/chfw/yehua>`_.
9+
Organisations using it:
10+
11+
- `pyexcel <https://github.com/pyexcel/pyexcel>`_.
12+
- `coala <https://github.com/coala/coala>`_.
13+
- `pyecharts <https://github.com/pyecharts/pyecharts>`_.
14+
- `echarts-maps <https://github.com/echarts-maps>`_.
15+
16+
Features
17+
================================================================================
18+
19+
setup.py
20+
----------
21+
22+
1. flake8 compliant setup.py
23+
24+
2. feature parity with `kennethreitz/setup.py <https://github.com/kennethreitz/setup.py>`_
25+
26+
- automatically upload to pypi without using twine
27+
28+
- automatically do git release while uploading to pypi
29+
30+
3. configured to build universial wheels by default
31+
{% endblock %}
32+
33+
{% block bottom_block %}
334
{% block github_note %}
4-
Maintenance
35+
{% endblock %}
36+
Notes
537
================================================================================
638

7-
`mobans` lives in `templates` folder. python package lives in `pypi-package`
8-
folder. `upstreaming.yml` is used to upstream sphinx templates into pypi-mobans.
9-
Everything else are meta data.
1039

11-
`moban -m mobanfile` will update all meta files including the files in
12-
`pypi-package`
40+
In order to run, `python setup.py publish`, you will have setup `.pypirc` in
41+
your home folder as::
42+
43+
[distutils]
44+
index-servers =
45+
pypi
46+
47+
[pypi]
48+
username=your_name
49+
password=your_password
50+
51+
52+
And you need to configure `gease`.
53+
{% endblock %}
1354

14-
{% endblock %}

README.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,6 @@ You can get it:
4747
$ git clone https://github.com/moremoban/pypi-mobans.git
4848
$ cd pypi-mobans
4949
50-
Maintenance
51-
================================================================================
52-
53-
`mobans` lives in `templates` folder. python package lives in `pypi-package`
54-
folder. `upstreaming.yml` is used to upstream sphinx templates into pypi-mobans.
55-
Everything else are meta data.
56-
57-
`moban -m mobanfile` will update all meta files including the files in
58-
`pypi-package`
59-
6050
Notes
6151
================================================================================
6252

0 commit comments

Comments
 (0)