fix
This commit is contained in:
parent
458d002142
commit
4963339b34
@ -2,6 +2,8 @@
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/vendor/lib/python2.7/site-packages" isTestSource="false" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
|
3
main.py
3
main.py
@ -9,8 +9,7 @@ import os
|
||||
import sys
|
||||
|
||||
parent_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
vendor_dir = os.path.join(parent_dir, 'vendor')
|
||||
|
||||
vendor_dir = os.path.join(parent_dir, 'vendor/lib/python2.7/site-packages')
|
||||
sys.path.append(vendor_dir)
|
||||
|
||||
from netaddr import IPNetwork
|
||||
|
@ -1 +0,0 @@
|
||||
netaddr~=0.8.0
|
Loading…
Reference in New Issue
Block a user