Browse Source

m17 py setup (untested)

p2p
mach327 1 year ago
parent
commit
a2d1a7e1d5
  1. 1
      .gitignore
  2. 3
      requirements.txt
  3. 1
      requirements.txt.gitpycodec2
  4. 33
      setup.py

1
.gitignore

@ -0,0 +1 @@
__pycache__/

3
requirements.txt

@ -1,7 +1,8 @@
Cython
numpy
scipy
pycodec2
soundcard
bitstruct
samplerate
pycodec2

1
requirements.txt.gitpycodec2

@ -0,0 +1 @@
git+https://github.com/gregorias/pycodec2.git

33
setup.py

@ -2,10 +2,12 @@
from setuptools import setup, Command
NAME = 'm17'
#for reference: https://github.com/navdeep-G/setup.py/blob/master/setup.py
#
NAME = 'M17'
DESCRIPTION = 'M17 radio (and radio-over-IP) protocol implementation'
URL = 'https://git.mmcginty.me/mike/m17_misc_utils'
EMAIL = 'm17.py@tarxvf.tech'
URL = 'https://git.mmcginty.me/mike/pym17'
EMAIL = 'pyM17@tarxvf.tech'
AUTHOR = 'tarxvf'
REQUIRES_PYTHON = '>=3.8.0'
VERSION = '0.0.1'
@ -13,3 +15,28 @@ VERSION = '0.0.1'
with open("requirements.txt","r") as fd:
REQUIRED = list(map(lambda x:x.strip(), fd.readlines()))
long_description = DESCRIPTION
setup(
name=NAME,
version=about['__version__'],
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
# py_modules=['mypackage'],
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
]
)
Loading…
Cancel
Save