<commit_before>#! /usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup
from dlstats import version
import os

setup(name='dlstats',
	version=version.version,
    description='A python module that provides an interface between statistics providers and pandas.',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/Widukind', 
      package_dir={'dlstats': 'dlstats', 'dlstats.fetchers': 'dlstats/fetchers'},
    packages=['dlstats', 'dlstats.fetchers'],
    data_files=[('/usr/local/bin',['dlstats/dlstats_server.py']),
                ('/etc/systemd/system',['os_specific/dlstats.service'])],
    install_requires=[
        'requests>=2.4.3',
        'pymongo>=2.7.2',
        'pandas>=0.12',
        'docopt>=0.6.0',
        'voluptuous>=0.8',
        'xlrd>=0.8',
        'configobj>=5.0',
        'elasticsearch>=1.0.0,<2.0.0'
      ]
	)

with open('/etc/systemd/system/dlstats.service'):
        os.chmod('/etc/systemd/system/dlstats.service', 0o755)

with open('/usr/local/bin/dlstats_server.py'):
        os.chmod('/usr/local/bin/dlstats_server.py', 0o755)<commit_msg>Add conf file to installation script<commit_after>#! /usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup
from dlstats import version
import os

setup(name='dlstats',
	version=version.version,
    description='A python module that provides an interface between statistics providers and pandas.',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/Widukind', 
      package_dir={'dlstats': 'dlstats', 'dlstats.fetchers': 'dlstats/fetchers'},
    packages=['dlstats', 'dlstats.fetchers'],
    data_files=[('/usr/local/bin',['dlstats/dlstats_server.py']),
                ('/etc/systemd/system',['os_specific/dlstats.service']),
                ('/etc/',['config/dlstats'])],
    install_requires=[
        'requests>=2.4.3',
        'pymongo>=2.7.2',
        'pandas>=0.12',
        'docopt>=0.6.0',
        'voluptuous>=0.8',
        'xlrd>=0.8',
        'configobj>=5.0',
        'elasticsearch>=1.0.0,<2.0.0'
      ]
	)

with open('/etc/systemd/system/dlstats.service'):
        os.chmod('/etc/systemd/system/dlstats.service', 0o755)

with open('/usr/local/bin/dlstats_server.py'):
        os.chmod('/usr/local/bin/dlstats_server.py', 0o755)

with open('/etc/dlstats'):
        os.chmod('/etc/dlstats', 0o755)
{'fraction_non_alphanumeric': 0.19015565839293228, 'fraction_numerical': 0.030290281867900715, 'mean_word_length': 3.1284722222222223, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6728725', 'n_tokens_mistral': 848, 'n_tokens_neox': 827, 'n_words': 123}