Skip to content

Commit

Permalink
Changes to submit to PyPi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juergen Brendel committed Aug 19, 2017
1 parent 19b3d55 commit 1c1056b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.md
2 changes: 1 addition & 1 deletion requirements/deploy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ bottle==0.12.13
netaddr==0.7.19
wsgiref==0.1.2
watchdog==0.8.3
-e git+git://github.com/romana/multi-ping#egg=multiping
multiping>=1.0.4
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[metadata]
description-file = README.md

27 changes: 10 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,23 @@
"""

import os
from os import path

from setuptools import setup, find_packages

from codecs import open

import vpcrouter


here = os.path.abspath(os.path.dirname(__file__))

here = path.abspath(path.dirname(__file__))

def get_readme():
try:
import pypandoc
return pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
return ""


long_description = get_readme()
try:
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
except (IOError):
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()


setup(
Expand All @@ -59,14 +56,10 @@ def get_readme():
'netaddr==0.7.19',
'wsgiref==0.1.2',
'watchdog==0.8.3',
'multiping==1.0.2',
],
dependency_links = [
"https://github.com/romana/multi-ping/tarball/master#egg=multiping-1.0.2"
'multiping>=1.0.4',
],
classifiers = [
'Programming Language :: Python',
'Development Status :: 5 - Stable',
'Natural Language :: English',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: System Administrators',
Expand Down
2 changes: 1 addition & 1 deletion vpcrouter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"""

__version__ = "1.6.2"
__version__ = "1.6.3"

0 comments on commit 1c1056b

Please sign in to comment.