-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 881 Bytes
/
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
from setuptools import find_packages, setup
# PyPI only supports nicely-formatted README files in reStructuredText.
# Newsapps seems to prefer Markdown. Use a version of the pattern from
# https://coderwall.com/p/qawuyq/use-markdown-readme-s-in-python-modules
# to convert the Markdown README to rst if the pypandoc package is
# present.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError, OSError):
long_description = open('README.md').read()
# Load the version from the version module
exec(open('slackunfuddle/version.py').read())
setup(
name='slackunfuddle',
version=__version__,
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=[
'Flask',
'requests',
'lxml',
],
tests_require=[
'nose',
],
test_suite='nose.collector',
)