forked from kotekan/kotekan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (34 loc) · 1.29 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
# === Start Python 2/3 compatibility
from __future__ import absolute_import, division, print_function, unicode_literals
from future.builtins import * # noqa pylint: disable=W0401, W0614
from future.builtins.disabled import * # noqa pylint: disable=W0401, W0614
# === End Python 2/3 compatibility
from os import path
from setuptools import setup, find_packages
import versioneer
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.rst"), "r") as f:
long_description = f.read()
with open(path.join(here, "requirements.txt"), "r") as f:
requirements = f.readlines()
setup(
name="kotekan",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
license="MIT",
author="Kotekan Developers",
description="Python support code for kotekan",
long_description=long_description,
url="http://github.com/kotekan/kotekan/",
packages=find_packages(),
py_modules=["_version"],
install_requires=requirements,
entry_points="""
[console_scripts]
kotekan-ctl=kotekan.scripts.ctl:cli
polyco-tools=kotekan.scripts.polyco_tools:cli
baseband-archiver=kotekan.scripts.baseband_archiver:cli
""",
scripts=["scripts/rfi_receiver/rfi_receiver.py"],
)