Skip to content

Commit

Permalink
Updated setup.py file.
Browse files Browse the repository at this point in the history
Added Python 3.10 as supported.
Added required Python version.
Changed pyinstaller command to use descriptive flags.
  • Loading branch information
mishioo committed Feb 28, 2022
1 parent 87ea594 commit 7a9e517
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ def finalize_options(self):
def run(self):
command = [
"pyinstaller",
"-y",
"-F",
"-i",
"--noconfirm",
"--onefile",
"--icon",
".\\tesliper\\tesliper.ico",
"-n",
"--name",
"Tesliper",
"-p",
"--paths",
".",
"--add-data",
".\\tesliper\\tesliper.ico;tesliper",
"-w",
"--noconsole",
".\\bin\\tesliper_gui.py",
]
subprocess.run(command)
Expand Down Expand Up @@ -71,6 +71,7 @@ def run(self):
packages=find_packages(),
install_requires=["numpy", "openpyxl"],
extras_require=extras_require,
python_requires=">=3.6",
scripts=["bin/tesliper_gui.py"],
entry_points={"console_scripts": ["tesliper-gui=tesliper.gui:run"]},
package_data={"tesliper": ["tesliper.ico"]},
Expand All @@ -81,6 +82,7 @@ def run(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Chemistry",
"Development Status :: 4 - Beta",
],
Expand Down

0 comments on commit 7a9e517

Please sign in to comment.