Skip to content

Commit e2e3c0a

Browse files
Update setup.py
1 parent 758039f commit e2e3c0a

File tree

1 file changed

+42
-44
lines changed

1 file changed

+42
-44
lines changed

setup.py

Lines changed: 42 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
from setuptools import setup
55

66
# 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"
1515

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/*"]
2020

2121
setup(
2222
name=DISTNAME,
@@ -26,45 +26,43 @@
2626
license=LICENSE,
2727
url=URL,
2828
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'],
3535
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",
4847
],
4948
#'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},
5352
#'runner' is in the root.
5453
scripts=["runner"],
55-
test_suite='nose.collector',
56-
tests_require=['nose'],
57-
54+
test_suite="nose.collector",
55+
tests_require=["nose"],
5856
long_description=LONG_DESCRIPTION,
5957
long_description_content_type="text/markdown",
6058
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",
6866
],
69-
python_requires='>=3.2',
67+
python_requires=">=3.2",
7068
)

0 commit comments

Comments
 (0)