Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Commit

Permalink
Package build introduced.
Browse files Browse the repository at this point in the history
  • Loading branch information
casastorta committed Nov 17, 2013
1 parent 5e848c1 commit c533fff
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
*.sublime-*

build/*
dist/*
4 changes: 4 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# file GENERATED by distutils, do NOT edit
setup.py
software_versions/__init__.py
software_versions/versions.py
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## software_versions ##

Python script for pulling latest software versions from respective vendors' web sites.
Python module for pulling latest software versions from respective vendors' web sites.

For more details, visit
For more details, visit
http://krivokuca.net/2012/09/software_versions-python-module-stable-release/
4 changes: 2 additions & 2 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def main():

from software import versions as ver
from software_versions import versions as ver

print ("Sendmail: %s" % (ver.check_sendmail()))
print ("ISC BIND: %s" % (ver.check_bind()))
Expand All @@ -33,7 +33,7 @@ def main():


def set_include_path():
include_path = os.path.abspath("./include/")
include_path = os.path.abspath("./")
sys.path.append(include_path)


Expand Down
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

from distutils.core import setup

setup(name='software_versions',
version='1.0.3',
description='Python script for pulling latest software versions from '
'the respective vendors\' web sites',
author='Vedran Krivokuca',
author_email='[email protected]',
url='https://github.com/casastorta/software_versions',
packages=['software_versions'],
)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'''

from types import NoneType
import software as sftw
import software_versions as sftw
import re
import urllib
import sys
Expand Down
2 changes: 1 addition & 1 deletion unittest/versions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __test_version(self, input_values=None):


def set_include_path():
include_path = os.path.abspath("../include/")
include_path = os.path.abspath("../")
sys.path.append(include_path)


Expand Down

0 comments on commit c533fff

Please sign in to comment.