-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed setup, now uses pyproject.toml
- Loading branch information
1 parent
81980f8
commit 7483680
Showing
5 changed files
with
108 additions
and
43 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.distutils.bdist_wheel] | ||
universal = false | ||
|
||
[project] | ||
name = "PhyPraKit" | ||
dynamic = ["version"] | ||
description = "Tools for data visualisation and analysis in Physics Lab Courses" | ||
authors = [ | ||
{name = "Guenter Quast", email = "Guenter.Quast@online.de"}, | ||
] | ||
|
||
keywords = ["karlsruhe", "data", "analysis", "visualization", "lab", "laboratory", | ||
"education", "university", "students", "physics"] | ||
|
||
requires-python = ">=3.6" | ||
readme = "README.md" | ||
license = {text = "MIT BSD 2-Clause License"} | ||
|
||
classifiers = [ | ||
"License :: OSI Approved :: MIT BSD 2-Clause License", | ||
"Development Status :: 5 - stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Education", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Scientific/Engineering :: Data Acquisition", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11" ] | ||
|
||
dependencies = [ | ||
"numpy", | ||
"matplotlib", | ||
"scipy", | ||
"pandas", | ||
"iminuit", | ||
"kafe2", | ||
"uncertainties" ] | ||
|
||
[project.scripts] | ||
run_phyFit = 'PhyPraKit:run_phyFit.py' | ||
plot_Data = 'PhyPraKit:plotData.py' | ||
csv2yml = 'PhyPraKit:csv2yml.py' | ||
plotCSV = 'PhyPraKit:plotCSV.py' | ||
smoothCSV = 'PhyPraKit:smoothCSV.py' | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["PhyPraKit*"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "PhyPraKit.__version__"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,3 @@ | ||
import PhyPraKit # from this directory | ||
import pathlib | ||
# setup.py for compatibility with old setuptools | ||
from setuptools import setup | ||
|
||
# The directory containing this file | ||
HERE = pathlib.Path(__file__).parent | ||
|
||
# The text of the README file | ||
README = (HERE / "README.md").read_text() | ||
|
||
|
||
setup( | ||
name='PhyPraKit', | ||
packages=['PhyPraKit'], | ||
version=PhyPraKit.__version__, | ||
# | ||
author='Guenter Quast', | ||
author_email='Guenter.Quast@online.de', | ||
url='http://www.etp.kit.edu/~quast/', | ||
license='GNU Public Licence', | ||
description='Tools for data visualisation and analysis in Physics Lab Courses', | ||
long_description=README, | ||
scripts=['tools/run_phyFit.py', 'tools/plotData.py', | ||
'tools/csv2yml.py', 'tools/plotCSV.py' , 'tools/smoothCSV.py'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
# 'Development Status :: 4 - Beta', | ||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
], | ||
install_requires=[\ | ||
"NumPy >= 1.19", | ||
"SciPy >= 1.5", | ||
"matplotlib >= 3", | ||
"iminuit >1.99", | ||
"kafe2 >=2.6.0",] | ||
) | ||
setup() # reads from pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import PhyPraKit # from this directory | ||
import pathlib | ||
from setuptools import setup | ||
|
||
# The directory containing this file | ||
HERE = pathlib.Path(__file__).parent | ||
|
||
# The text of the README file | ||
README = (HERE / "README.md").read_text() | ||
|
||
|
||
setup( | ||
name='PhyPraKit', | ||
packages=['PhyPraKit'], | ||
version=PhyPraKit.__version__, | ||
# | ||
author='Guenter Quast', | ||
author_email='Guenter.Quast@online.de', | ||
url='http://www.etp.kit.edu/~quast/', | ||
license='GNU Public Licence', | ||
description='Tools for data visualisation and analysis in Physics Lab Courses', | ||
long_description=README, | ||
scripts=['tools/run_phyFit.py', 'tools/plotData.py', | ||
'tools/csv2yml.py', 'tools/plotCSV.py' , 'tools/smoothCSV.py'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
# 'Development Status :: 4 - Beta', | ||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
], | ||
install_requires=[\ | ||
"NumPy >= 1.19", | ||
"SciPy >= 1.5", | ||
"matplotlib >= 3", | ||
"iminuit >1.99", | ||
"kafe2 >=2.6.0",] | ||
) |