Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d5b0dc2

Browse filesBrowse files
committed
Make sure setup.py works regardless of cwd
1 parent 5197f55 commit d5b0dc2
Copy full SHA for d5b0dc2

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
long_description = readme_file.read() + '\n' + changes_file.read()
2929

3030
version = None
31-
with open(join("html5lib", "__init__.py"), "rb") as init_file:
31+
with open(join(here, "html5lib", "__init__.py"), "rb") as init_file:
3232
t = ast.parse(init_file.read(), filename="__init__.py", mode="exec")
3333
assert isinstance(t, ast.Module)
3434
assignments = filter(lambda x: isinstance(x, ast.Assign), t.body)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.