Skip to content

Commit d90c6d4

Browse files
authored
Merge pull request #51 from ayan-b/req-comments
[WIP] setup.py.jj2: Allow comments in requirements.txt
2 parents 36373a1 + cfb60d5 commit d90c6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/setup.py.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ if python_implementation == "PyPy":
112112
{%- endmacro %}
113113
INSTALL_REQUIRES = [
114114
{% for dependency in dependencies: %}
115-
{% if ';' not in dependency: %}
115+
{% if ';' not in dependency and not dependency.startswith('#'): %}
116116
'{{dependency}}',
117117
{% endif %}
118118
{% endfor %}

0 commit comments

Comments
 (0)