-
Notifications
You must be signed in to change notification settings - Fork 160
/
setup.py
48 lines (43 loc) · 1.33 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
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from limbo import VERSION
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
appdir = os.path.dirname(os.path.realpath(__file__))
requirements = f"{appdir}/requirements.txt"
# should I bother to remove testing requirements?
required = [l.strip() for l in open(requirements) if not l.startswith("#")]
packages = ["limbo", "limbo.plugins"]
try:
longdesc = open("README.rst").read()
except:
longdesc = ""
setup(
name="limbo",
version=VERSION,
description="Simple and Clean Slack Chatbot",
long_description=longdesc,
author="Bill Mill",
author_email="[email protected]",
url="https://github.com/llimllib/limbo",
packages=packages,
scripts=["bin/limbo"],
package_data={"": ["LICENSE", "limbo/plugins/*.py"]},
include_package_data=True,
install_requires=required,
license="MIT",
python_requires=">=3.4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.12",
],
keywords="slack chatbot chat limbo",
)