forked from pjvalla/pfb_channelizer_gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (27 loc) · 1.17 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from subprocess import check_output, CalledProcessError, DEVNULL
try:
date_string = check_output('git log -1 --pretty=format:%cd --date=format:%Y.%m.%d'.split(), stderr=DEVNULL).decode()
except CalledProcessError:
from datetime import date
today = date.today()
date_string = today.strftime("%Y.%m.%d")
with open("./phy_tools/README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='phy_tools',
version="{}".format(date_string),
install_requires=['ipdb', 'mpmath', 'pylatexenc', 'numba', 'scikit-learn', 'numpy', 'matplotlib', 'scipy', 'pandas', 'dill', 'ffmpeg', 'plotly'],
extras_require={"streamlit": ["pkginfo", "streamlit"]},
author="Phil Vallance",
author_email="[email protected]",
description="Set of Physical Layer (phy_tools) Tool that utilities for the following areas: fixed point simulation, \
communication design, verilog and vhdl code generation, FEC algorithms and general signal processing",
long_description=long_description,
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
],
)