flupke / freeze-requirements Goto Github PK
View Code? Open in Web Editor NEWA script to help creating and maintaining frozen requirements for pip
A script to help creating and maintaining frozen requirements for pip
I would be nice to keep peep's sha256 comments when merging requirements files.
It could be usefull to have an option like: --exclude-requirements FILE
This could be a neat feature to have in pip.
e.g.:
pip freeze -r requirements.txt --build-wheels
Hello,
I got the following error with the latest version of the package, it doesn't run at all with all the commands you suggested.
my env is
Python 3.5.2
pip 10.0.1
(py35-rrm) ~$ freeze-requirements freeze --separate-requirements requirements.txt requirements2.txt
Traceback (most recent call last):
File "/home/alice/.virtualenvs/py35-rrm/bin/freeze-requirements", line 7, in <module>
from freezerequirements.cli import main
File "/home/alice/.virtualenvs/py35-rrm/lib/python3.5/site-packages/freezerequirements/cli.py", line 12, in <module>
from pip.req import InstallRequirement
ImportError: No module named 'pip.req'
After a fresh install (pip install freeze-requirements) on python 3.4.3, I get the following error running freeze-requirements:
$ freeze-requirements
Traceback (most recent call last):
File "/env3/bin/freeze-requirements", line 7, in <module>
from freezerequirements.cli import main
File "/env3/lib/python3.4/site-packages/freezerequirements/cli.py", line 14, in <module>
from .utils import (likely_distro, cache_dir, cache_path,
File "/env3/lib/python3.4/site-packages/freezerequirements/utils.py", line 139, in <module>
class StringWithAttrs(unicode):
NameError: name 'unicode' is not defined
Is freeze-requirements supposed to support python 3.4.3?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.