-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
68 lines (64 loc) · 2.22 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
63
64
65
66
67
68
# Authors: OpticCommPy contributors
# License: GPL-3.0 license
from setuptools import setup
# Taken from scikit-commpy setup.py
DISTNAME = "OptiCommPy"
DESCRIPTION = "Optical Communications Algorithms with Python"
LONG_DESCRIPTION = open("README.rst", encoding="utf8").read()
MAINTAINER = "Edson Porto da Silva"
MAINTAINER_EMAIL = "[email protected]"
URL = "https://github.com/edsonportosilva/OptiCommPy"
LICENSE = "GPL-3.0 license"
VERSION = "0.9.0"
# This is a list of files to install, and where
# (relative to the 'root' dir, where setup.py is)
# You could be more specific.
files = ["optic/*", "optic/comm/*", "optic/dsp/*", "optic/models/*"]
setup(
name=DISTNAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
# Name the folder where your packages live:
# (If you have other packages (dirs) or modules (py files) then
# put them into the package directory - they will be found
# recursively.)
packages=["optic", "optic.comm", "optic.models", "optic.dsp"],
# py_modules = ['plot', 'core', 'comm', 'dsp', 'models'],
install_requires=[
"numpy>=1.24.4",
"scipy>=1.13.0",
"matplotlib>=3.7.0",
"sympy",
"tqdm>=4.64.1",
"numba>=0.54.0,<=0.57",
"simple-pid>=1.0.1",
"mpl-scatter-density>=0.7.0",
"sphinx-rtd-theme>=1.2.2",
"nbsphinx>=0.9.3",
"nbsphinx-link>=1.3.0"
],
#'package' package must contain files (see list above)
# This dict maps the package name =to=> directories
# It says, package *needs* these files.
package_data={"optic": files},
#'runner' is in the root.
scripts=["runner"],
test_suite="tests",
tests_require=["pytest", "unittest"],
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Telecommunications Industry",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
python_requires=">=3.2",
)