mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
Merge pull request #501 from mgedmin/specify-deps
Specify dependencies in setup.py
This commit is contained in:
commit
c9440adc4d
1 changed files with 5 additions and 1 deletions
6
setup.py
Normal file → Executable file
6
setup.py
Normal file → Executable file
|
|
@ -58,7 +58,7 @@ try:
|
|||
import setuptools
|
||||
except ImportError:
|
||||
# ignore when setuptools is not installed
|
||||
pass
|
||||
setuptools = None
|
||||
if do_freeze:
|
||||
from cx_Freeze import setup, Executable
|
||||
else:
|
||||
|
|
@ -987,4 +987,8 @@ if sys.platform == 'darwin':
|
|||
if executables:
|
||||
args["executables"] = executables
|
||||
args["cmdclass"]["install_exe"] = MyInstallExe
|
||||
if setuptools is not None:
|
||||
args['install_requires'] = [
|
||||
'requests >= 2.2.0',
|
||||
]
|
||||
setup(**args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue