-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (34 loc) · 1.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
# coding:utf-8
from __future__ import print_function
from setuptools import setup, find_packages
import os
long_description = 'Visualizing a confusion matrix with gradations'
if os.path.exists('README_pypi.md'):
try:
import pypandoc
read_md = lambda f: pypandoc.convert(f, 'rst')
long_description = read_md('README_pypi.md')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
long_description = read_md('README_pypi.md')
classifiers = [
"Development Status :: 1 - Planning",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Software Development",
]
setup(
name="ipymessenger",
version="0.1.0",
description="ip messenger library fro python",
url="https://github.com/denzow/ipymessenger",
license="MIT",
packages=["ipymessenger"],
keywords="ipmessenger",
long_description=long_description,
classifiers=classifiers,
author="denzow",
author_email="[email protected]"
)