105 Commits

Author SHA1 Message Date
kxrd
ac6ce860d0 Improve function diff docstring, begin function clean 2017-06-13 01:10:47 +02:00
kxrd
7549b1c416 Add and implement function diff, improve inline comments in function parse_requirements 2017-06-10 21:24:39 +02:00
kxrd
a78203dc2b Improve function parse_requirements docstring 2017-06-10 21:22:18 +02:00
kxrd
882a0d3ec3 Add docstring to function parse_requirements 2017-06-10 20:52:17 +02:00
kxrd
d8b497ea91 Rename function clean to compare_modules, have it return a tuple of modules not imported, add docstring 2017-06-10 20:43:54 +02:00
kxrd
1055a7a28b Add colon to error output for consistency 2017-06-10 20:02:43 +02:00
kxrd
888537a898 Improve except block in function parse_requirements 2017-06-10 20:01:42 +02:00
kxrd
b048c55fe6 Add clean function 2017-06-02 22:30:17 +02:00
kxrd
b6c53c6b02 Begin function clean 2017-06-02 21:16:17 +02:00
kxrd
d463b92810 Return tuple consisting of modules,parameters instead of a concatenated list 2017-06-02 21:13:47 +02:00
kxrd
cdb82c6d9b Switch out print statement against logging.error 2017-06-02 20:13:51 +02:00
kxrd
3d87f21392 Add file_ parameter to function parse_requirements, implement a try-except block in function parse_requirements 2017-06-02 19:59:59 +02:00
kxrd
0886898d8d Fix dict key:value in function parse_requirements() 2017-06-02 18:04:02 +02:00
kxrd
270f0e9933 Add function parse_requirements 2017-06-02 18:00:30 +02:00
Vadim Kravcenko
3e6c1547dc Version bump 2017-04-20 13:52:57 +02:00
L
243e6e6833 BUG: remove package/version duplicates 2017-04-17 11:33:06 -04:00
Vadim Kravcenko
1a990b52d5 refactor(pipreqs): pep8 2017-03-20 20:51:34 +01:00
Vadim Kravcenko
714393fcea missing parameter for proxy 2016-12-13 15:28:18 +01:00
Vadim Kravcenko
0f70dcc33b Version bump 2016-12-13 15:10:26 +01:00
Antti Kaihola
c69067819a Fixes #56: The --pypi-server option now accepts an URL 2016-12-13 16:06:06 +02:00
UTAGAWA Kiki
f31ad89350 Implement --print to output list of requirements to stdout 2016-11-22 00:10:10 +09:00
Vadim Kravcenko
345a275b3a Bump Version 2016-07-14 19:09:00 +02:00
Vadim Kravcenko
63be6bb253 fix(pipres): Add dependency even if version was not found 2016-07-14 18:57:43 +02:00
Vadim Kravcenko
d93319ccf1 fix(pipres): ignore .tox directory #44 2016-07-14 18:55:13 +02:00
Vadim Kravcenko
0799301dee Bump Version 2016-06-02 22:23:43 +02:00
Vadim Kravcenko
c7d527de84 Bump version 2016-02-10 19:09:26 +01:00
Dmitry Pribysh
36efe7e219 Make pipreqs not write duplicated lines to requirements.txt 2016-02-10 20:48:58 +03:00
Vadim Kravcenko
96a76f58c0 Version bump 2016-02-05 18:00:57 +01:00
Vadim Kravcenko
075436d8e1 fix(pipreqs): allow comma-separated --ignore parameter 2016-02-05 18:00:34 +01:00
nrhine1
c888100470 added ignore option 2016-02-05 10:57:26 -05:00
Vadim Kravcenko
8b7a9815d9 Version bump 2016-01-28 22:06:44 +01:00
Kay Sackey
bc5cd169ec Python 3 Compatability 2016-01-28 15:05:04 -05:00
Kay Sackey
2059626583 Passing Tests
Also added test documentation.

The changes to the tests were necessary as AST walking will retrieve
all valid dependencies and fail on syntactically incorrect .py files.
2016-01-28 15:01:39 -05:00
Kay Sackey
415ede7691 Cleanup
Moved the import statement to the top of the page where it belongs
2016-01-28 01:08:38 -05:00
Kay Sackey
60983f0fde Walk Abstract Syntax Tree to find imports
Rationale: Using regex means that you can only find the imports that are at the top of the page without any spaces between them. There's likely other issues, but that was the one that bit me. 

Caveat: Old method would parse files with broken syntax. This one will not.
2016-01-28 01:04:58 -05:00
Vadim Kravcenko
5930fdde61 Version bump 2016-01-20 09:38:41 +01:00
Vadim Kravcenko
d9434a5ac9 fix(pipreqs): correct regex for docstring 2016-01-20 09:36:58 +01:00
Vadim Kravcenko
5a01ec01e9 Bump version 2016-01-12 22:36:02 +01:00
Vadim Kravcenko
a8b1481886 improve(pipreqs/mapping): add more mapping of packages
whose import names are different from package names
2016-01-12 22:32:53 +01:00
Vadim Kravcenko
e984da46a5 fix(pipreqs/mapping): add picklefield mapping 2016-01-11 19:36:42 +01:00
Vadim Kravcenko
be1d8dfe58 bump version 2015-12-09 14:22:35 +01:00
Vadim Kravcenko
6a2c266422 fix(pipreqs.py): add new line between usage and option, https for proxy 2015-12-09 14:20:23 +01:00
Vadim Kravcenko
5ce8e7c0dd version bump 2015-12-04 21:05:31 +01:00
Vadim Kravcenko
c29abe5387 fix(pipreqs.py): clarify about proxy environment variables 2015-12-04 21:04:59 +01:00
Vadim Kravcenko
29d1405a0c bump version 2015-12-04 20:42:22 +01:00
Vadim Kravcenko
1ee081454b fix(pipreqs.py): remove ''' and """ comments before going through imports 2015-12-04 20:40:38 +01:00
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