Skip to content

Commit

Permalink
Initial scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
amit1rrr committed Mar 30, 2019
1 parent 5fcbcaf commit fe0189e
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
34 changes: 34 additions & 0 deletions setup.py
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",
)
12 changes: 12 additions & 0 deletions treon-runner.py
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 added treon/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions treon/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-


from .treon import main
main()
12 changes: 12 additions & 0 deletions treon/treon.py
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:])

0 comments on commit fe0189e

Please sign in to comment.