Installation

This commit is contained in:
Klafyvel 2018-08-02 14:46:28 +02:00
parent 5bde822623
commit 8a8d7e98dc
3 changed files with 21 additions and 2 deletions

View file

@ -1,3 +1,3 @@
#Klafirc # Klafirc
Klafirc is a simple irc bot which react to matches and pings. Klafirc is a simple irc bot which react to matches and pings.

View file

@ -1,7 +1,7 @@
pip3 install -r requirements.txt
mkdir /var/log/klafirc mkdir /var/log/klafirc
mkdir /etc/klafirc mkdir /etc/klafirc
cp bots.yaml /etc/klafirc cp bots.yaml /etc/klafirc
cp klafirc.service /etc/systemd/system/ cp klafirc.service /etc/systemd/system/
systemctl enable klafirc.service systemctl enable klafirc.service
systemctl start klafirc.service systemctl start klafirc.service
python3 setup.py install

19
setup.py Normal file
View file

@ -0,0 +1,19 @@
from setuptools import setup, find_packages
setup(
name='Klafirc',
version="0.1",
long_description=open('README.md').read(),
url='http://gitlab.rezometz.org/klafyvel/klafirc',
author='klafyvel',
author_email="me@klafyvel.me",
include_package_data=True,
packages=find_packages(),
install_requires= open('requirements.txt').read().split('\n'),
classifier=[
'Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
],
)