Skip to content

Commit cfb60d5

Browse files
committed
setup.py.jj2: Allow comments in requirements.txt
Closes #37
1 parent 6368096 commit cfb60d5

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
@@ -111,7 +111,7 @@ if python_implementation == "PyPy":
111111
{%- endmacro %}
112112
INSTALL_REQUIRES = [
113113
{% for dependency in dependencies: %}
114-
{% if ';' not in dependency: %}
114+
{% if ';' not in dependency and not dependency.startswith('#'): %}
115115
'{{dependency}}',
116116
{% endif %}
117117
{% endfor %}

0 commit comments

Comments
 (0)