Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flask-covid19
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Wöhlke
flask-covid19
Commits
92b7865f
Commit
92b7865f
authored
4 years ago
by
thomaswoehlke
Browse files
Options
Downloads
Patches
Plain Diff
work
parent
e3792a53
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/scipt_get_python_requirements_from_txt.sh
+0
-6
0 additions, 6 deletions
scripts/scipt_get_python_requirements_from_txt.sh
scripts/script_get_python_requirements_from_txt.py
+1
-1
1 addition, 1 deletion
scripts/script_get_python_requirements_from_txt.py
with
1 addition
and
7 deletions
scripts/scipt_get_python_requirements_from_txt.sh
deleted
100644 → 0
+
0
−
6
View file @
e3792a53
#!/usr/bin/env bash
cat
requirements/build.txt |
grep
-v
'#'
|
sed
's/^/\t"/g'
|
sed
's/$/",/g'
>
requirements/req_build.py
cat
requirements/docs.txt |
grep
-v
'#'
|
sed
's/^/\t"/g'
|
sed
's/$/",/g'
>
requirements/req_docs.py
cat
requirements/tests.txt |
grep
-v
'#'
|
sed
's/^/\t"/g'
|
sed
's/$/",/g'
>
requirements/req_tests.py
cat
requirements/dev.txt |
grep
-v
'#'
|
sed
's/^/\t"/g'
|
sed
's/$/",/g'
>
requirements/req_dev.py
This diff is collapsed.
Click to expand it.
scripts/script_get_python_requirements_from_txt.py
+
1
−
1
View file @
92b7865f
...
@@ -8,7 +8,7 @@ from setuptools import setup, find_packages
...
@@ -8,7 +8,7 @@ from setuptools import setup, find_packages
def
get_python_requirements_from_txt
():
def
get_python_requirements_from_txt
():
my_cmd
=
[
'
bash
'
,
'
scripts
'
+
os
.
sep
+
'
scipt_get_python_requirements_from_txt.sh
'
]
my_cmd
=
[
'
bash
'
,
'
scripts
'
+
os
.
sep
+
'
sc
r
ipt_get_python_requirements_from_txt.sh
'
]
returncode
=
subprocess
.
call
(
my_cmd
,
shell
=
True
)
returncode
=
subprocess
.
call
(
my_cmd
,
shell
=
True
)
if
returncode
==
0
:
if
returncode
==
0
:
logging
.
info
(
"
retcode:
"
+
str
(
returncode
))
logging
.
info
(
"
retcode:
"
+
str
(
returncode
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment