-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit b145a5c
Showing
15 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
from awesome_pip_module.awesome_module import awesome_module | ||
|
||
if __name__== '__main__': | ||
print __name__ | ||
awesome_module() |
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,10 @@ | ||
Metadata-Version: 1.0 | ||
Name: awesome-pip-module | ||
Version: 0.1.0 | ||
Summary: Python command line html creator | ||
Home-page: https://github.com/oscarvazquez/command_line_tool_demo | ||
Author: William Morgan | ||
Author-email: akulais@gmail.com | ||
License: UNKNOWN | ||
Description: UNKNOWN | ||
Platform: UNKNOWN |
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,10 @@ | ||
README.rst | ||
setup.py | ||
awesome_pip_module/__init__.py | ||
awesome_pip_module/__main__.py | ||
awesome_pip_module/awesome_module.py | ||
awesome_pip_module.egg-info/PKG-INFO | ||
awesome_pip_module.egg-info/SOURCES.txt | ||
awesome_pip_module.egg-info/dependency_links.txt | ||
awesome_pip_module.egg-info/entry_points.txt | ||
awesome_pip_module.egg-info/top_level.txt |
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 @@ | ||
|
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,3 @@ | ||
[console_scripts] | ||
html = awesome_module.awesome_module:awesome_module | ||
|
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 @@ | ||
awesome_pip_module |
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,2 @@ | ||
from .awesome_module import awesome_module | ||
awesome_module() |
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,11 @@ | ||
__version__ = "0.1.0" | ||
|
||
import sys | ||
|
||
|
||
|
||
|
||
def awesome_module(): | ||
print("Executing awesome_module version %s." % __version__) | ||
print("List of argument strings: %s" % sys.argv[1:]) | ||
print "this is new as well" |
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,2 @@ | ||
from .awesome_module import awesome_module | ||
awesome_module() |
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,11 @@ | ||
__version__ = "0.1.0" | ||
|
||
import sys | ||
|
||
|
||
|
||
|
||
def awesome_module(): | ||
print("Executing awesome_module version %s." % __version__) | ||
print("List of argument strings: %s" % sys.argv[1:]) | ||
print "this is new as well" |
Binary file not shown.
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,28 @@ | ||
import re | ||
from setuptools import setup | ||
|
||
|
||
version = re.search( | ||
'^__version__\s*=\s*"(.*)"', | ||
open('awesome_pip_module/awesome_module.py').read(), | ||
re.M | ||
).group(1) | ||
|
||
|
||
with open("README.rst", "rb") as f: | ||
long_descr = f.read().decode("utf-8") | ||
|
||
|
||
setup( | ||
name = "awesome_pip_module", | ||
packages = ["awesome_pip_module"], | ||
entry_points = { | ||
"console_scripts": ['awesome_pip = awesome_pip_module.awesome_module:awesome_module'] | ||
}, | ||
version = version, | ||
description = "Python command line html creator", | ||
long_description = long_descr, | ||
author = "William Morgan", | ||
author_email = "akulais@gmail.com", | ||
url = "https://github.com/oscarvazquez/command_line_tool_demo" | ||
) |