forked from kpreid/shinysdr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·62 lines (57 loc) · 2.39 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
# Copyright 2013, 2014, 2015 Kevin Reid <[email protected]>
#
# This file is part of ShinySDR.
#
# ShinySDR is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ShinySDR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ShinySDR. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
# Mostly written on the advice of <http://www.scotttorborg.com/python-packaging/>.
setup(
name='ShinySDR',
#version='...', # No versioning is defined yet
description='Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins.',
url='https://github.com/kpreid/shinysdr/',
author='Kevin Reid',
author_email='[email protected]',
classifiers=[
# TODO: review/improve; this list was made by browsing <https://pypi.python.org/pypi?%3Aaction=list_classifiers>; can we add new items?
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Twisted',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent', # will probably fail on notPOSIX due to lack of portability work, not fundamentally
'Topic :: Communications :: Ham Radio', # non-exclusively ham
],
license='GPLv3+',
packages=find_packages(exclude=['shinysdr.test']),
include_package_data=True,
install_requires=[
#'gnuradio', # Not PyPI
#'osmosdr', # Not PyPI
'twisted',
'txws',
'ephem',
'pyserial', # undeclared dependency of twisted.internet.serialport
],
dependency_links=[],
# zip_safe: TODO: Investigate. I suspect unsafe due to serving web resources relative to __file__.
zip_safe=False,
entry_points={
'console_scripts': {
'shinysdr = shinysdr.main:main',
'shinysdr-import = shinysdr.db_import:import_main'
}
}
)