Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
fix issue when empty install prefix specified
Browse files Browse the repository at this point in the history
  • Loading branch information
ibtaylor authored and tkruse committed Oct 27, 2019
1 parent 26ef597 commit 354e8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_data_files(prefix):
parser.add_argument('--prefix', default=None,
help='prefix to install data files')
opts, _ = parser.parse_known_args(sys.argv)
prefix = opts.prefix or sys.prefix
prefix = sys.prefix if opts.prefix == None else opts.prefix

data_files = get_data_files(prefix)

Expand Down

0 comments on commit 354e8fe

Please sign in to comment.