Patch the way of installing the obi main command
This commit is contained in:
6
setup.py
6
setup.py
@ -11,11 +11,11 @@ from Cython.Build import cythonize
|
|||||||
import os.path
|
import os.path
|
||||||
from distutils import log
|
from distutils import log
|
||||||
from distutils.extension import Extension
|
from distutils.extension import Extension
|
||||||
from pip._internal.cli.cmdoptions import build_dir
|
|
||||||
|
|
||||||
sys.path.append(os.path.abspath("python"))
|
sys.path.append(os.path.abspath("python"))
|
||||||
|
|
||||||
print(sys.path)
|
dependencies = ['sphinx',"Cython"]
|
||||||
|
|
||||||
|
|
||||||
def findPackage(root,base=None):
|
def findPackage(root,base=None):
|
||||||
modules=[]
|
modules=[]
|
||||||
@ -120,6 +120,6 @@ setup(name=PACKAGE,
|
|||||||
ext_modules=xx,
|
ext_modules=xx,
|
||||||
packages = findPackage('python'),
|
packages = findPackage('python'),
|
||||||
package_dir = {"" : "python"},
|
package_dir = {"" : "python"},
|
||||||
scripts = ['python/obi.py']
|
scripts = ['scripts/obi']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user