peinan commited on
Commit
1e241d8
1 Parent(s): 0491f7e

remove `-e file:.` in requirements.txt

Browse files
.pre-commit-config.yaml CHANGED
@@ -7,4 +7,3 @@ repos:
7
  language: system
8
  always_run: true
9
  pass_filenames: false
10
-
 
7
  language: system
8
  always_run: true
9
  pass_filenames: false
 
requirements.txt CHANGED
@@ -7,7 +7,6 @@
7
  # all-features: false
8
  # with-sources: false
9
 
10
- -e file:.
11
  aiofiles==23.2.1
12
  # via gradio
13
  aiohttp==3.9.3
 
7
  # all-features: false
8
  # with-sources: false
9
 
 
10
  aiofiles==23.2.1
11
  # via gradio
12
  aiohttp==3.9.3
scripts/generate-requirements.sh CHANGED
@@ -1,4 +1,6 @@
1
  #!/bin/bash
2
 
3
  cp requirements.lock requirements.txt
 
 
4
  git add requirements.txt
 
1
  #!/bin/bash
2
 
3
  cp requirements.lock requirements.txt
4
+ # remove `-e file:.` from requirements.txt because it's not supported by pip-compile
5
+ sed -i '' '/-e file:\./d' requirements.txt
6
  git add requirements.txt