Remove unused function get_current_dir() from setup.py.
parent
d66340fd15
commit
22b88ec71e
5
setup.py
5
setup.py
|
@ -28,7 +28,6 @@
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import inspect
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
## Upgrade setuptools to a version which supports Python 2 and 3
|
## Upgrade setuptools to a version which supports Python 2 and 3
|
||||||
|
@ -47,10 +46,6 @@ __author__ = "Isis Agora Lovecruft"
|
||||||
__contact__ = 'isis@patternsinthevoid.net'
|
__contact__ = 'isis@patternsinthevoid.net'
|
||||||
__url__ = 'https://github.com/isislovecruft/python-gnupg'
|
__url__ = 'https://github.com/isislovecruft/python-gnupg'
|
||||||
|
|
||||||
def get_current_dir():
|
|
||||||
"""Current dir of this file, regardless of where we're called from."""
|
|
||||||
here = inspect.getabsfile(inspect.currentframe()).rsplit(os.path.sep, 1)[0]
|
|
||||||
return here
|
|
||||||
|
|
||||||
def get_deps_reqs():
|
def get_deps_reqs():
|
||||||
"""Get dependencies from the pip requirements.txt file."""
|
"""Get dependencies from the pip requirements.txt file."""
|
||||||
|
|
Loading…
Reference in New Issue