Remove unused function get_current_dir() from setup.py.

testing/mmn/mktime_takes_localtime_not_gmtime 1.1.5
Isis Lovecruft 2013-07-02 11:22:03 +00:00
parent d66340fd15
commit 22b88ec71e
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 0 additions and 5 deletions

View File

@ -28,7 +28,6 @@
from __future__ import absolute_import
from __future__ import print_function
import inspect
import os
## Upgrade setuptools to a version which supports Python 2 and 3
@ -47,10 +46,6 @@ __author__ = "Isis Agora Lovecruft"
__contact__ = 'isis@patternsinthevoid.net'
__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():
"""Get dependencies from the pip requirements.txt file."""