Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
akulais committed Mar 11, 2016
0 parents commit b145a5c
Show file tree
Hide file tree
Showing 15 changed files with 84 additions and 0 deletions.
Empty file added README.rst
Empty file.
5 changes: 5 additions & 0 deletions awesome_pip_module-runner.py
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()
10 changes: 10 additions & 0 deletions awesome_pip_module.egg-info/PKG-INFO
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
10 changes: 10 additions & 0 deletions awesome_pip_module.egg-info/SOURCES.txt
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
1 change: 1 addition & 0 deletions awesome_pip_module.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions awesome_pip_module.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[console_scripts]
html = awesome_module.awesome_module:awesome_module

1 change: 1 addition & 0 deletions awesome_pip_module.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
awesome_pip_module
Empty file added awesome_pip_module/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions awesome_pip_module/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .awesome_module import awesome_module
awesome_module()
11 changes: 11 additions & 0 deletions awesome_pip_module/awesome_module.py
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.
2 changes: 2 additions & 0 deletions build/lib/awesome_pip_module/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .awesome_module import awesome_module
awesome_module()
11 changes: 11 additions & 0 deletions build/lib/awesome_pip_module/awesome_module.py
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 added dist/awesome_pip_module-0.1.0-py2.7.egg
Binary file not shown.
28 changes: 28 additions & 0 deletions setup.py
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"
)

0 comments on commit b145a5c

Please sign in to comment.