Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Oct 10, 2019
1 parent b7cd754 commit f531786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from os.path import realpath, dirname, join
import os
from setuptools import setup, find_packages

VERSION = None
Expand All @@ -11,9 +11,9 @@
continue
VERSION = l.split('=')[1].strip(' "\'\n')
break
PROJECT_ROOT = dirname(realpath(__file__))
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))

REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')
REQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, 'requirements.txt')

with open(REQUIREMENTS_FILE) as f:
install_reqs = f.read().splitlines()
Expand Down

0 comments on commit f531786

Please sign in to comment.