Allow calling setup.py from a subdirectory
This commit is contained in:
parent
23c457cee5
commit
ec6e264753
2
setup.py
2
setup.py
@ -26,6 +26,8 @@ import subprocess
|
|||||||
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
os.chdir(os.path.split(os.path.abspath(__file__))[0])
|
||||||
|
|
||||||
PKG = "hy"
|
PKG = "hy"
|
||||||
VERSIONFILE = os.path.join(PKG, "version.py")
|
VERSIONFILE = os.path.join(PKG, "version.py")
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user