mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 19:45:22 +00:00
Merge 4d596c9eb2531a401f552943282fb8bf1ccb3ef0 into 3c786e353702e1de864ac3f6c408acc5d90f475f
This commit is contained in:
commit
1c88109263
16
docs/conf.py
16
docs/conf.py
@ -55,8 +55,8 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'pipreqs'
|
project = 'pipreqs'
|
||||||
copyright = u'2015, Vadim Kravcenko'
|
copyright = '2015, Vadim Kravcenko'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement
|
# The version info for the project you're documenting, acts as replacement
|
||||||
# for |version| and |release|, also used in various other places throughout
|
# for |version| and |release|, also used in various other places throughout
|
||||||
@ -209,8 +209,8 @@ latex_elements = {
|
|||||||
# [howto/manual]).
|
# [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'pipreqs.tex',
|
('index', 'pipreqs.tex',
|
||||||
u'pipreqs Documentation',
|
'pipreqs Documentation',
|
||||||
u'Vadim Kravcenko', 'manual'),
|
'Vadim Kravcenko', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at
|
# The name of an image file (relative to this directory) to place at
|
||||||
@ -240,8 +240,8 @@ latex_documents = [
|
|||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('index', 'pipreqs',
|
('index', 'pipreqs',
|
||||||
u'pipreqs Documentation',
|
'pipreqs Documentation',
|
||||||
[u'Vadim Kravcenko'], 1)
|
['Vadim Kravcenko'], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
# If true, show URL addresses after external links.
|
||||||
@ -255,8 +255,8 @@ man_pages = [
|
|||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
('index', 'pipreqs',
|
('index', 'pipreqs',
|
||||||
u'pipreqs Documentation',
|
'pipreqs Documentation',
|
||||||
u'Vadim Kravcenko',
|
'Vadim Kravcenko',
|
||||||
'pipreqs',
|
'pipreqs',
|
||||||
'One line description of project.',
|
'One line description of project.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
|
@ -124,7 +124,7 @@ def get_all_imports(
|
|||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
if ignore_errors:
|
if ignore_errors:
|
||||||
traceback.print_exc(exc)
|
traceback.print_exc(exc)
|
||||||
logging.warn("Failed on file: %s" % file_name)
|
logging.warning("Failed on file: %s" % file_name)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
logging.error("Failed on file: %s" % file_name)
|
logging.error("Failed on file: %s" % file_name)
|
||||||
@ -220,7 +220,8 @@ def get_locally_installed_packages(encoding=None):
|
|||||||
package = root.split(os.sep)[-1].split("-")
|
package = root.split(os.sep)[-1].split("-")
|
||||||
try:
|
try:
|
||||||
top_level_modules = f.read().strip().split("\n")
|
top_level_modules = f.read().strip().split("\n")
|
||||||
except: # NOQA
|
except Exception: # NOQA
|
||||||
|
|
||||||
# TODO: What errors do we intend to suppress here?
|
# TODO: What errors do we intend to suppress here?
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
wheel==0.23.0
|
wheel==0.38.1
|
||||||
Yarg==0.1.9
|
Yarg==0.1.9
|
||||||
docopt==0.6.2
|
docopt==0.6.2
|
Loading…
x
Reference in New Issue
Block a user