File tree Expand file tree Collapse file tree 5 files changed +22
-2
lines changed Expand file tree Collapse file tree 5 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
Change log
2
2
================================================================================
3
3
4
+ -
5
+ --------------------------------------------------------------------------------
6
+
7
+ **Added **
8
+
9
+ #. add python_requires in setup.py
10
+ #. no code coverage support
11
+
4
12
0.0.10 - tbd
5
13
--------------------------------------------------------------------------------
6
14
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ pypi-mobans
7
7
8
8
.. image :: https://codecov.io/github/moremoban/pypi-mobans/coverage.png
9
9
:target: https://codecov.io/github/moremoban/pypi-mobans
10
-
11
10
.. image :: https://img.shields.io/github/stars/moremoban/pypi-mobans.svg?style=social&maxAge=3600&label=Star
12
11
:target: https://github.com/moremoban/pypi-mobans/stargazers
13
12
Original file line number Diff line number Diff line change 1
1
name : pypi-mobans
2
2
organisation : moremoban
3
3
releases :
4
+ - changes :
5
+ - action : Added
6
+ details :
7
+ - " add python_requires in setup.py"
8
+ - " no code coverage support"
4
9
- changes :
5
10
- action : Added
6
11
details :
Original file line number Diff line number Diff line change 20
20
{% else %}
21
21
{% set suffix = '/coverage.png' %}
22
22
{% endif %}
23
+ {% if not no_code_coverage %}
23
24
.. image:: https://codecov.io/{{base_path}}{{suffix}}
24
25
:target: https://codecov.io/{{base_path}}
25
-
26
+ {% endif %}
26
27
{% if release != "0.0.0" %}
27
28
.. image:: https://badge.fury.io/py/{{name}}.svg
28
29
:target: https://pypi.org/project/{{name}}
Original file line number Diff line number Diff line change @@ -177,6 +177,10 @@ CLASSIFIERS = [
177
177
{% endblock %}
178
178
]
179
179
180
+ {% if python_requires %}
181
+ PYTHON_REQUIRES = "{{python_requires}}"
182
+ {% endif %}
183
+
180
184
{%macro handle_complex_dependency(complex_one) -%}
181
185
{%set dependency, condition = complex_one.split(";")%}
182
186
{% if condition == 'python_version<"3"'%}
@@ -426,6 +430,9 @@ if __name__ == "__main__":
426
430
{% if external_module_library %}
427
431
ext_modules=[PYMODULE],
428
432
{% else %}
433
+ {% if python_requires %}
434
+ python_requires=PYTHON_REQUIRES,
435
+ {% endif %}
429
436
extras_require=EXTRAS_REQUIRE,
430
437
tests_require=["nose"],
431
438
install_requires=INSTALL_REQUIRES,
You can’t perform that action at this time.
0 commit comments