Skip to content

Commit

Permalink
Release v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketsudake committed Dec 31, 2016
1 parent d73e6fb commit 40cd9b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ifparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .ifconfig import Ifcfg, Interface

__title__ = 'ifparser'
__version__ = '0.4.0'
__version__ = '0.5.0'
__author__ = 'Sanket Sudake'

__all__ = ['Ifcfg', 'Interface']
21 changes: 12 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ def get_packages(package):
"""
Return root package and all sub-packages.
"""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))]
return [
dirpath for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))
]


def get_package_data(package):
Expand All @@ -34,10 +35,11 @@ def get_package_data(package):

filepaths = []
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
filepaths.extend(
[os.path.join(base, filename) for filename in filenames])
return {package: filepaths}


version = get_version('ifparser')

with open('README.rst') as f:
Expand All @@ -56,12 +58,13 @@ def get_package_data(package):
packages=get_packages('ifparser'),
package_data=get_package_data('ifparser'),
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Operating System :: POSIX :: Linux",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
],
)
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries"
], )

0 comments on commit 40cd9b5

Please sign in to comment.