-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add import in __init__.py to enable API
Adds an import to the __init__.py to enable importing via API Props to @krazykoder Fixes #86
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
name='termgraph', | ||
packages=['termgraph'], | ||
entry_points={'console_scripts': ['termgraph=termgraph.termgraph:main']}, | ||
version='0.5.2', | ||
version='0.5.3', | ||
author="mkaz", | ||
author_email="[email protected]", | ||
url='https://github.com/mkaz/termgraph', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import sys | ||
from os.path import dirname | ||
sys.path.append(dirname(__file__)) | ||
from termgraph import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
import os | ||
import re | ||
|
||
VERSION = "0.5.2" | ||
VERSION = "0.5.3" | ||
|
||
init() | ||
|
||
|