forked from 3bot/3bot-worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (24 loc) · 811 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
# -*- encoding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
from os.path import join, dirname
import threebot_worker as app
def long_description():
try:
return open(join(dirname(__file__), 'README.md')).read()
except IOError:
return "LONG_DESCRIPTION Error"
setup(
name="threebot-worker",
version=app.__version__,
description="Worker scripts for the 3bot plattform",
long_description=long_description(),
author='arteria GmbH',
author_email="admin@arteria.ch",
maintainer_email="renner@arteria.ch",
url="https://github.com/3bot/3bot-worker",
packages=find_packages(),
include_package_data=True,
install_requires=open('requirements.txt').read().split('\n'),
scripts=['threebot_worker/threebot-worker'],
)