Skip to content

Commit

Permalink
FET: Use console scripts entry
Browse files Browse the repository at this point in the history
  • Loading branch information
akissa committed Feb 19, 2019
1 parent 405fbc7 commit 6ef1cfa
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
# clamavmirror: ClamAV Signature Mirroring Tool
# Copyright (C) 2015 Andrew Colin Kissa <andrew@topdog.za.net>
# Copyright (C) 2015-2019 Andrew Colin Kissa <andrew@topdog.za.net>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""
clamavmirror: ClamAV Signature Mirroring Tool
Copyright 2015, Andrew Colin Kissa
Copyright 2015-2019, Andrew Colin Kissa
Licensed under MPL 2.0.
"""
import os

# from imp import load_source
from setuptools import setup


Expand All @@ -37,13 +36,12 @@ def get_readme():
return long_description


# pylint: disable-msg=W0142
def main():
"""Main"""

opts = dict(
name="clamavmirror",
version='0.0.3',
version='0.0.4',
description="ClamAV Signature Mirroring Tool",
long_description=get_readme(),
keywords="clamav mirror mirroring mirror-tool signatures",
Expand All @@ -52,7 +50,11 @@ def main():
url="https://github.com/akissa/clamavmirror",
license="MPL 2.0",
packages=[],
scripts=['bin/clamavmirror'],
entry_points={
'console_scripts': [
'clamavmirror=clamavmirror:main'
],
},
include_package_data=True,
zip_safe=False,
install_requires=['urllib3', 'dnspython', 'certifi'],
Expand Down

0 comments on commit 6ef1cfa

Please sign in to comment.