Skip to content

Instantly share code, notes, and snippets.

@vladan
Created February 26, 2017 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladan/413464fd6ea31a692b43bb7d47134763 to your computer and use it in GitHub Desktop.
Save vladan/413464fd6ea31a692b43bb7d47134763 to your computer and use it in GitHub Desktop.
requirements & setup.py
from setuptools import setup
import sys
if sys.version_info < (3,5):
sys.exit('Sorry, Python 3.5 or newer is required (async/await)')
setup(name='slackbot',
version='0.2',
description='simple slack bot',
url='https://github.com/gdamjan/slack-bot/',
author='gdamjan',
author_email='gdamjan@gmail.com',
license='MIT',
install_requires=[
"websockets",
"slacker-asyncio",
"jsonpath-rw-ext",
],
packages=['slackbot'],
zip_safe=False,
package_data={'slackbot': ['smarties.txt']},
include_package_data=True,
entry_points = {
'console_scripts':
['slackbot=slackbot.__main__:main']
},
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment