|
4 | 4 | from setuptools import setup
|
5 | 5 |
|
6 | 6 | # Taken from scikit-commpy setup.py
|
7 |
| -DISTNAME = 'OptiCommPy' |
8 |
| -DESCRIPTION = 'Optical Communications Algorithms with Python' |
9 |
| -LONG_DESCRIPTION = open('README.md', encoding="utf8").read() |
10 |
| -MAINTAINER = 'Edson Porto da Silva' |
11 |
| -MAINTAINER_EMAIL = 'edsonporto88@gmail.com' |
12 |
| -URL = 'https://github.com/edsonportosilva/OptiCommPy' |
13 |
| -LICENSE = 'BSD 3-Clause' |
14 |
| -VERSION = '0.6.0' |
| 7 | +DISTNAME = "OptiCommPy" |
| 8 | +DESCRIPTION = "Optical Communications Algorithms with Python" |
| 9 | +LONG_DESCRIPTION = open("README.md", encoding="utf8").read() |
| 10 | +MAINTAINER = "Edson Porto da Silva" |
| 11 | +MAINTAINER_EMAIL = "edsonporto88@gmail.com" |
| 12 | +URL = "https://github.com/edsonportosilva/OptiCommPy" |
| 13 | +LICENSE = "BSD 3-Clause" |
| 14 | +VERSION = "0.7.0" |
15 | 15 |
|
16 |
| -#This is a list of files to install, and where |
17 |
| -#(relative to the 'root' dir, where setup.py is) |
18 |
| -#You could be more specific. |
19 |
| -files = ["optic/*","optic/comm/*","optic/dsp/*", "optic/models/*"] |
| 16 | +# This is a list of files to install, and where |
| 17 | +# (relative to the 'root' dir, where setup.py is) |
| 18 | +# You could be more specific. |
| 19 | +files = ["optic/*", "optic/comm/*", "optic/dsp/*", "optic/models/*"] |
20 | 20 |
|
21 | 21 | setup(
|
22 | 22 | name=DISTNAME,
|
|
26 | 26 | license=LICENSE,
|
27 | 27 | url=URL,
|
28 | 28 | version=VERSION,
|
29 |
| - #Name the folder where your packages live: |
30 |
| - #(If you have other packages (dirs) or modules (py files) then |
31 |
| - #put them into the package directory - they will be found |
32 |
| - #recursively.) |
33 |
| - packages=['optic', 'optic.comm', 'optic.models', 'optic.dsp'], |
34 |
| - #py_modules = ['plot', 'core', 'comm', 'dsp', 'models'], |
| 29 | + # Name the folder where your packages live: |
| 30 | + # (If you have other packages (dirs) or modules (py files) then |
| 31 | + # put them into the package directory - they will be found |
| 32 | + # recursively.) |
| 33 | + packages=["optic", "optic.comm", "optic.models", "optic.dsp"], |
| 34 | + # py_modules = ['plot', 'core', 'comm', 'dsp', 'models'], |
35 | 35 | install_requires=[
|
36 |
| - 'numpy>=1.9.2', |
37 |
| - 'scipy>=0.15.0', |
38 |
| - 'matplotlib>=3.7.0', |
39 |
| - 'sympy', |
40 |
| - 'tqdm>=4.64.1', |
41 |
| - 'numba>=0.54.1', |
42 |
| - 'scikit-commpy>=0.7.0', |
43 |
| - 'simple-pid>=1.0.1', |
44 |
| - 'mpl-scatter-density>=0.7.0', |
45 |
| - 'pandas>=2.0.0', |
46 |
| - 'sphinx-rtd-theme>=1.2.2' |
47 |
| - |
| 36 | + "numpy>=1.9.2", |
| 37 | + "scipy>=0.15.0", |
| 38 | + "matplotlib>=3.7.0", |
| 39 | + "sympy", |
| 40 | + "tqdm>=4.64.1", |
| 41 | + "numba>=0.54.1", |
| 42 | + "scikit-commpy>=0.7.0", |
| 43 | + "simple-pid>=1.0.1", |
| 44 | + "mpl-scatter-density>=0.7.0", |
| 45 | + "pandas>=2.0.0", |
| 46 | + "sphinx-rtd-theme>=1.2.2", |
48 | 47 | ],
|
49 | 48 | #'package' package must contain files (see list above)
|
50 |
| - #This dict maps the package name =to=> directories |
51 |
| - #It says, package *needs* these files. |
52 |
| - package_data={'optic': files}, |
| 49 | + # This dict maps the package name =to=> directories |
| 50 | + # It says, package *needs* these files. |
| 51 | + package_data={"optic": files}, |
53 | 52 | #'runner' is in the root.
|
54 | 53 | scripts=["runner"],
|
55 |
| - test_suite='nose.collector', |
56 |
| - tests_require=['nose'], |
57 |
| - |
| 54 | + test_suite="nose.collector", |
| 55 | + tests_require=["nose"], |
58 | 56 | long_description=LONG_DESCRIPTION,
|
59 | 57 | long_description_content_type="text/markdown",
|
60 | 58 | classifiers=[
|
61 |
| - 'Development Status :: 4 - Beta', |
62 |
| - 'Intended Audience :: Science/Research', |
63 |
| - 'Intended Audience :: Telecommunications Industry', |
64 |
| - 'Operating System :: Unix', |
65 |
| - 'Programming Language :: Python', |
66 |
| - 'Topic :: Scientific/Engineering', |
67 |
| - 'Topic :: Software Development', |
| 59 | + "Development Status :: 4 - Beta", |
| 60 | + "Intended Audience :: Science/Research", |
| 61 | + "Intended Audience :: Telecommunications Industry", |
| 62 | + "Operating System :: Unix", |
| 63 | + "Programming Language :: Python", |
| 64 | + "Topic :: Scientific/Engineering", |
| 65 | + "Topic :: Software Development", |
68 | 66 | ],
|
69 |
| - python_requires='>=3.2', |
| 67 | + python_requires=">=3.2", |
70 | 68 | )
|
0 commit comments