Skip to content

Commit

Permalink
reqst
Browse files Browse the repository at this point in the history
  • Loading branch information
dingguanglei committed Oct 26, 2018
1 parent 673f7ec commit 977dbbd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
13 changes: 13 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
import sys
sys.path.insert(0, os.path.abspath('../../'))
import jdit
import mock

MOCK_MODULES = ['numpy', 'scipy',
'matplotlib', 'matplotlib.pyplot',
'scipy.interpolate',
'torch','torchvision',
'tensorboardX',
'tensorboard'
]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()



# -- Project information -----------------------------------------------------
project = 'jdit'
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
pip
mock
future
numpy
pyyaml
setuptools
six
typing
torch


2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# 需要安装的依赖
install_requires=[
'pip>=18.0'
# 'pip>=18.0'
# 'torch>=0.4.1',
# 'setuptools>=16.0',
# 'torchvision',
Expand Down

0 comments on commit 977dbbd

Please sign in to comment.