-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
64 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
include LICENSE |
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,34 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
"""setup.py: setuptools control.""" | ||
|
||
|
||
import re | ||
from setuptools import setup | ||
|
||
|
||
version = re.search( | ||
'^__version__\s*=\s*"(.*)"', | ||
open('treon/treon.py').read(), | ||
re.M | ||
).group(1) | ||
|
||
|
||
with open("README.md", "rb") as f: | ||
long_descr = f.read().decode("utf-8") | ||
|
||
|
||
setup( | ||
name = "treon", | ||
packages = ["treon"], | ||
entry_points = { | ||
"console_scripts": ['treon = treon.treon:main'] | ||
}, | ||
version = version, | ||
description = "Testing framework for Jupyter Notebooks", | ||
long_description = long_descr, | ||
author = "Amit Rathi", | ||
author_email = "amit@reviewnb.com", | ||
url = "https://reviewnb.com", | ||
) |
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,12 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
"""Convenience wrapper for running bootstrap directly from source tree.""" | ||
|
||
|
||
from treon.treon import main | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
Empty file.
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,5 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
from .treon import main | ||
main() |
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,12 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
__version__ = "0.1.0" | ||
|
||
|
||
import sys | ||
|
||
|
||
def main(): | ||
print("Executing bootstrap version %s." % __version__) | ||
print("List of argument strings: %s" % sys.argv[1:]) |