Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-lister
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
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
Antoine R. Dumont
swh-lister
Commits
ede9e504
Commit
ede9e504
authored
8 years ago
by
Antoine Pietri
Browse files
Options
Downloads
Patches
Plain Diff
requirements: split internal and external requirements in two separate files
parent
b217f55c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
MANIFEST.in
+1
-0
1 addition, 0 deletions
MANIFEST.in
requirements-swh.txt
+3
-0
3 additions, 0 deletions
requirements-swh.txt
requirements.txt
+0
-3
0 additions, 3 deletions
requirements.txt
setup.py
+7
-7
7 additions, 7 deletions
setup.py
with
11 additions
and
10 deletions
MANIFEST.in
+
1
−
0
View file @
ede9e504
include Makefile
include README
include requirements.txt
include requirements-swh.txt
include version.txt
This diff is collapsed.
Click to expand it.
requirements-swh.txt
0 → 100644
+
3
−
0
View file @
ede9e504
swh.core
swh.storage >= 0.0.76
swh.scheduler >= 0.0.10
This diff is collapsed.
Click to expand it.
requirements.txt
+
0
−
3
View file @
ede9e504
requests
SQLAlchemy
swh.core
swh.storage
>= 0.0.76
swh.scheduler
>= 0.0.10
This diff is collapsed.
Click to expand it.
setup.py
+
7
−
7
View file @
ede9e504
...
...
@@ -5,13 +5,13 @@ from setuptools import setup
def
parse_requirements
():
requirements
=
[]
with
open
(
'
requirements.txt
'
)
as
f
:
for
line
in
f
.
readlines
()
:
line
=
line
.
strip
()
if
not
line
or
line
.
st
artswith
(
'
#
'
):
continue
requirements
.
append
(
line
)
for
reqf
in
(
'
requirements.txt
'
,
'
requirements-swh.txt
'
)
:
with
open
(
reqf
)
as
f
:
for
line
in
f
.
readlines
()
:
line
=
line
.
st
rip
()
if
not
line
or
line
.
startswith
(
'
#
'
):
continue
requirements
.
append
(
line
)
return
requirements
...
...
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