Skip to content

Commit 5d2d362

Browse files
committed
📚 update Readme and update gitignore
1 parent ddddac6 commit 5d2d362

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ parts/
2525
sdist/
2626
var/
2727
wheels/
28-
pip-wheel-metadata/
2928
share/python-wheels/
3029
*.egg-info/
3130
.installed.cfg
@@ -143,10 +142,6 @@ dmypy.json
143142
# Cython debug symbols
144143
cython_debug/
145144

146-
# static files generated from Django application using `collectstatic`
147-
media
148-
static
149-
150145
# VirtualEnv rules
151146
# Virtualenv
152147
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
@@ -431,6 +426,9 @@ tmtags
431426
!.vscode/extensions.json
432427
*.code-workspace
433428

429+
# Local History for Visual Studio Code
430+
.history/
431+
434432
# Xcode rules
435433
# Xcode
436434
#

.moban.dt/local-README.rst.jj2

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,21 @@ two secrets::
7676

7777
Once you have done that, a github release will trigger an auto publishing.
7878

79+
80+
Restrict your package to a python version
81+
--------------------------------------------------------------------------------
82+
83+
The following strings are required in your project yaml file::
84+
85+
python_requires: ">=3.6"
86+
min_python_version: "3.6"
87+
88+
89+
Using dependency markers in `setup.py`
90+
--------------------------------------------------------------------------------
91+
92+
In order to use dependency markers in `setup.py`, add `setup_use_markers: true`
93+
in your `mobanfile.
94+
7995
{% endblock %}
8096

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ stages:
1717
git:
1818
submodules: false
1919
python: 3.6
20+
env:
21+
- MINREQ=0
2022
stage: lint
2123
script: make install_test lint
2224

2325
.moban: &moban
2426
python: 3.6
27+
env:
28+
- MINREQ=0
2529
stage: moban
2630
install: pip install moban>=0.0.4 gitfs2 pypifs
2731
script: make upstreaming git-diff-check

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ two secrets::
9393

9494
Once you have done that, a github release will trigger an auto publishing.
9595

96+
97+
Restrict your package to a python version
98+
--------------------------------------------------------------------------------
99+
100+
The following strings are required in your project yaml file::
101+
102+
python_requires: ">=3.6"
103+
min_python_version: "3.6"
104+
105+
96106
Using dependency markers in `setup.py`
97107
--------------------------------------------------------------------------------
98108

0 commit comments

Comments
 (0)