chore: make setup.py file chdir consistent
This commit is contained in:
parent
1924919e18
commit
441028a1d2
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
here = Path(__file__).parent
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
import os
|
||||
from os import chdir
|
||||
from pathlib import Path
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
|
||||
setup(
|
||||
name="libretime-api",
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import os
|
||||
from os import chdir
|
||||
from pathlib import Path
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
name="libretime-api-client",
|
||||
|
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
here = Path(__file__).parent
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
|
|
|
@ -3,7 +3,8 @@ from pathlib import Path
|
|||
|
||||
from setuptools import setup
|
||||
|
||||
here = Path(__file__).parent
|
||||
# Change directory since setuptools uses relative paths
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import os
|
||||
from os import chdir
|
||||
from pathlib import Path
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
here = Path(__file__).parent.resolve()
|
||||
chdir(here)
|
||||
|
||||
setup(
|
||||
name="libretime-celery",
|
||||
|
|
Loading…
Reference in New Issue