This commit is contained in:
Maxim Slipenko 2023-09-07 11:53:39 +03:00
parent 458d002142
commit 4963339b34
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -1 +0,0 @@
netaddr~=0.8.0