Vadim Kravcenko
a4a40efe26
fix(pipreqs.py): remove '.egg' from version
2015-12-04 20:39:51 +01:00
Vadim Kravcenko
897bfafb54
fix(pipreqs/mapping): remove pylab reference to matplotlib
...
as it is a standalone library
2015-12-04 20:38:08 +01:00
Vadim Kravcenko
e9fea0e8f7
version bump
2015-10-22 10:54:23 +02:00
Vadim Kravcenko
383d5a7725
Merge pull request #31 from hdformat/master
...
fix(pipreqs/pipreqs.py): fix a mistake on args.get
2015-10-22 10:49:13 +02:00
EJ Lee
084ef4b725
fix(pipreqs/pipreqs.py): fix a mistake on args.get
2015-10-22 17:15:43 +09:00
Vadim Kravcenko
385d3be409
chore(init): Version bump
2015-10-21 11:49:51 +02:00
Vadim Kravcenko
f2ee9d50d5
fix(pipreqs): set default logging level to INFO
2015-10-21 11:49:08 +02:00
Vadim Kravcenko
1e7b021120
fix(pipreqs): add venv to ignore_dirs
2015-10-21 11:48:21 +02:00
Vadim Kravcenko
ea191acd36
chore(history): Version bump
2015-10-20 22:17:23 +02:00
Vadim Kravcenko
3acbdaa893
fix(pipreqs/pipreqs.py): add python 2.6 and 2.7 support for encoding parameter
2015-10-20 22:10:12 +02:00
EJ Lee
061a9b5f64
fixed lint warnings
2015-10-20 19:51:39 +09:00
EJ Lee
195565b50c
feat(cli): add --encoding parameter for open()
2015-10-20 19:45:20 +09:00
EJ Lee
e0137f2245
fix(pipreqs): support windows directory separator
2015-10-20 19:39:48 +09:00
Vadim Kravcenko
8d7b7f6d1c
feat(cli): add --proxy and --pypi-server options
2015-09-28 20:45:23 +02:00
Steve Barnes
4b30cf6ae6
Added .svn & .hg to directory ignores.
...
Also added *.bak to git ignores.
Addresses #25
2015-09-28 15:21:32 +01:00
Vadim Kravcenko
74d51a067c
chore(global): Bump Version
2015-09-25 20:47:03 +02:00
LeeW
301ff8ce83
Ignore irreverent directory when generating requirement.txt
...
* Currently ignore .git, __pycache__, env
2015-08-31 21:25:17 +08:00
LeeW
2c4ad02bfb
Modify logging level of "Requirement.txt already exists" to warning
2015-08-31 19:47:41 +08:00
lord63
d59c9a1e84
Fix flake8
2015-07-14 19:56:14 +08:00
lord63
7ecc1248de
Fix the wrong version info, close #19
2015-07-13 22:49:49 +08:00
Vadim Kravcenko
fe71b90075
Version 0.2.8
...
Add --force option
Clean up
2015-06-19 23:23:38 +02:00
Vadim Kravcenko
b68919c440
try to read, ignore if failed
2015-05-12 06:24:31 +02:00
Vadim Kravcenko
f3ec4d5d2a
fix(pipreqs): Walk through all sys.path instead of only get_python_lib()
2015-05-11 23:05:47 +02:00
Vadim Kravcenko
9035a2eb5b
styling: pep8
2015-05-11 22:02:53 +02:00
Vadim Kravcenko
0f622de27c
fix(pipreqs): ignore word "import" in package names
2015-05-11 21:46:33 +02:00
Vadim Kravcenko
8a04169419
fix(pipreqs): Duplicate entries in requirements.txt
2015-05-11 19:18:22 +02:00
Vadim Kravcenko
496b729309
fix(pipreqs): line parsing with comments on the same line
2015-05-11 19:18:05 +02:00
Vadim Kravcenko
94af4fc171
fix(pipreqs): py3 compatibility
2015-05-10 11:03:22 +02:00
Vadim Kravcenko
3fc82c5743
refactor(pipreqs): Refactor core code, remove unnecessary prints, rename vars
2015-05-10 10:58:05 +02:00
Vadim Kravcenko
dc512ae423
fix(make): add pip install to makefile
2015-05-09 12:38:02 +02:00
Vadim Kravcenko
a41b353a02
improve(mapping): Add more entries to mapping
2015-05-09 12:28:26 +02:00
Tiago Costa
ea2db2c29a
Strip alias from import name for multiple imports on the same line. Fix for #13
2015-05-08 23:57:19 +01:00
cclauss
00695850a5
Sorted so it is easier to edit
2015-05-08 18:05:07 +02:00
Vadim Kravcenko
d4e1e9144d
style: PEP8 cleanup
2015-05-08 17:36:41 +02:00
Vadim Kravcenko
f2024cbc40
fix(pipreqs): fix package import names (case sensitive)
2015-05-08 17:28:39 +02:00
Vadim Kravcenko
a0c796bc6b
feat(pipreqs): Add ImportName -> PackageName mapping, fix for #5
2015-05-08 16:56:53 +02:00
Vadim Kravcenko
50470f7836
improve(pipreqs): Remove unnecessary if statements
2015-05-08 11:15:37 +02:00
Colton J. Provias
505ee3b939
Fix for TypeError for implicit conversion
...
`package_import` is a list, and on Python 3.4 it must be implicitly converted to a string before concatenation.
2015-05-07 18:30:16 -04:00
Vadim Kravcenko
099af5594c
style(pipreqs): pep8
2015-05-06 15:21:19 +02:00
Vadim Kravcenko
c4d0fb8cf0
feat(cli): Add --use-local option
...
When --use-local option is passed, only package information in local
site-packages directory is considered, otherwise BOTH local and PyPI
information is loaded.
2015-05-06 15:18:03 +02:00
littmus
8538d10ee3
Use "latest_release_id" instead of "release_ids[-1]" cause it is inexact.
2015-05-02 15:44:36 +09:00
littmus
2c5906ea58
Exclude relative imports.
...
ex) from .foo import bar
2015-05-02 13:42:03 +09:00
Harri Berglund
b8a88e3c94
Update help text
2015-04-28 23:11:19 +03:00
Harri Berglund
57626670ce
Return sorted list from get_all_imports()
2015-04-28 23:11:19 +03:00
Harri Berglund
177c156b38
Use str.format()
2015-04-28 23:11:01 +03:00
Harri Berglund
fb87e41b63
Fix typos
2015-04-28 21:53:10 +03:00
cclauss
0b4b522c38
str.partition() simplifies the logic, thighten up write()
...
str.partition() has nice advantages over str.split():
```python
to_append = item if "." not in item else item.split(".")[0]
# is equivalent to...
to_append = item.partition(".")[0]
```
Also tightened up generate_requirements_file() to send all data in a single write() operation
2015-04-28 07:35:54 +02:00
cclauss
a04bb6f0fc
Minor edits
2015-04-28 00:30:12 +02:00
littmus
eca9884b25
Change map and filter to list comprehension for py2 and py3 compatible
2015-04-27 00:10:05 +09:00
littmus
a438406f68
- Pre-filter python files only and remove empty lines in file.
...
- Exclude local packages import.
2015-04-26 23:32:41 +09:00
littmus
1dee19e3f5
Include packages imported with "as" and add tests.
2015-04-26 23:32:17 +09:00
Michael
655b32797a
Fix indentation, pep8. Optimize imports and adding missing import for sys module.
...
Improvements in some parts of get_all_imports method and removing unused path variable.
2015-04-25 12:31:05 +03:00
Vadim Kravcenko
9fcb4216a2
Fix(tests): Increase test coverage
2015-04-24 10:57:25 +02:00
Vadim Kravcenko
ecc8db88f5
fix(pipreqs): More verbose output
2015-04-24 08:32:38 +02:00
Vadim Kravcenko
b55814a40d
fix(pipreqs): py3 print support
2015-04-22 22:49:59 +02:00
Vadim Kravcenko
8c7604ad99
Fix readme, add more verbose output
2015-04-22 22:40:17 +02:00
Vadim Kravcenko
68e08af6c5
fix(package): include stdlib in package
2015-04-22 21:45:48 +02:00
Vadim Kravcenko
4ea48f9c7c
fix(pipreqs): Fix regular expressions matching
2015-04-22 20:04:31 +02:00
Vadim Kravcenko
6a3019427c
Initial commit
2015-04-22 18:40:17 +02:00