Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163765
D152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D152.diff
View Options
diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,3 +1,4 @@
include Makefile
include requirements.txt
+include requirements-swh.txt
include version.txt
diff --git a/requirements-swh.txt b/requirements-swh.txt
new file mode 100644
--- /dev/null
+++ b/requirements-swh.txt
@@ -0,0 +1,4 @@
+swh.core >= 0.0.14
+swh.scheduler
+swh.storage >= 0.0.76
+swh.loader.dir >= 0.0.23
diff --git a/requirements.txt b/requirements.txt
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,8 +2,4 @@
# should match https://pypi.python.org/pypi names. For the full spec or
# dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html
vcversioner
-swh.core >= 0.0.14
-swh.scheduler
-swh.storage >= 0.0.76
-swh.loader.dir >= 0.0.23
retrying
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -3,13 +3,13 @@
def parse_requirements():
requirements = []
- with open('requirements.txt') as f:
- for line in f.readlines():
- line = line.strip()
- if not line or line.startswith('#'):
- continue
- requirements.append(line)
-
+ for reqf in ('requirements.txt', 'requirements-swh.txt'):
+ with open(reqf) as f:
+ for line in f.readlines():
+ line = line.strip()
+ if not line or line.startswith('#'):
+ continue
+ requirements.append(line)
return requirements
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 3:00 PM (7 h, 25 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216621
Attached To
D152: requirements: split internal and external requirements in two separate files
Event Timeline
Log In to Comment