|
@@ -5,16 +5,10 @@ import re
|
|
from setuptools import find_packages
|
|
from setuptools import find_packages
|
|
from setuptools import setup
|
|
from setuptools import setup
|
|
import shlex
|
|
import shlex
|
|
-import site
|
|
|
|
import subprocess
|
|
import subprocess
|
|
import sys
|
|
import sys
|
|
|
|
|
|
|
|
|
|
-# XXX: with pyproject.toml and without --no-use-pep517,
|
|
|
|
-# sitepackages are not inserted to sys.path by default.
|
|
|
|
-sys.path.extend(site.getsitepackages())
|
|
|
|
-
|
|
|
|
-
|
|
|
|
def get_version():
|
|
def get_version():
|
|
filename = "labelme/__init__.py"
|
|
filename = "labelme/__init__.py"
|
|
with open(filename) as f:
|
|
with open(filename) as f:
|