Skip to content

Commit

Permalink
Include README.md convertion into setup.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Mar 8, 2017
1 parent 00ae7c4 commit cd324f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 94 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

![](https://thehive-project.org/img/logo.png)

# TheHive4py
TheHive4py is a Python API client for [TheHive](https://thehive-project.org/), a scalable 3-in-1 open source and free security incident response platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly.

Expand Down
93 changes: 0 additions & 93 deletions README.txt

This file was deleted.

9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
# -*- coding: utf-8 -*-
from setuptools import setup

try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()

setup(
name='thehive4py',
version='1.0.0',
description='Python API client for TheHive.',
long_description=open('README.txt').read(),
long_description=read_md('README.md'),
author='TheHive-Project',
author_email='[email protected]',
maintainer='TheHive-Project',
Expand Down

0 comments on commit cd324f9

Please sign in to comment.