Browse Source

use local

master
beadsland 1 year ago
parent
commit
64bf9e291e
2 changed files with 4 additions and 6 deletions
  1. 2
    4
      requirements.txt
  2. 2
    2
      util/genreqs.py

+ 2
- 4
requirements.txt View File

@@ -4,7 +4,6 @@
#
# util/genreqs.py
#
beautifulsoup4==4.6.3
casttube==0.2.0 # via pychromecast
certifi==2018.8.24 # via requests
chardet==3.0.4 # via requests
@@ -19,13 +18,12 @@ humanize==0.5.1
idna==2.7 # via requests
ifaddr==0.1.4 # via zeroconf
ipaddress==1.0.22 # via ifaddr
pillow==5.2.0
pillow==5.2.0 # via python-resize-image
pip-tools==3.0.0
pipreqs==0.4.9
piptools==0.1.1
protobuf==3.6.1 # via pychromecast
pychromecast==2.3.0
python-dateutil==2.7.3
python-dateutil==2.7.3 # via dateparser
python-resize-image==1.1.12
pytz==2018.5 # via dateparser, tzlocal
regex==2018.8.29 # via dateparser

+ 2
- 2
util/genreqs.py View File

@@ -15,14 +15,14 @@
##
## You should have received a copy of the GNU Affero General Public License
## along with this program. If not, see <https://www.gnu.org/licenses/>.
####
####

import pipreqs
import piptools
import os
import fileinput

os.system("pipreqs . --savepath requirements.in")
os.system("pipreqs . --savepath requirements.in --use-local")

for line in fileinput.input(files=["requirements.in"], inplace=True, backup='.bak'):
print(line.replace("==", ">="))

Loading…
Cancel
Save