From 6d6415d9ca2fd9e3c659de467c0669dff6bb9190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20M=C3=A9heut?= Date: Sat, 27 Aug 2016 00:41:07 +0200 Subject: [PATCH] Modified setup to convert markdown to rst for PyPI --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index d1a1af8..3ba1976 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,16 @@ from setuptools import setup, find_packages +try: + import pypandoc + long_description = pypandoc.convert('README.md', 'rst') +except(IOError, ImportError): + long_description = open('README.md').read() + setup(name='pywerview', version='0.1.0', description='A Python port of PowerSploit\'s PowerView', + long_description=long_description, dependency_links = ['https://github.com/CoreSecurity/impacket/tarball/master#egg=impacket-0.9.16dev'], classifiers=[ 'Environment :: Console',