From a7b38470aa2335791487fc0ef034762586b9c350 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Thu, 20 Jun 2024 17:13:50 -0400 Subject: [PATCH] add setup.cfg, other minor changes --- .gitignore | 3 +- docker/.virtual_documents/example.ipynb | 7 ----- pycse-channel/readme.org | 2 +- setup.cfg | 37 ++++++++++++++++++++++++- 4 files changed, 39 insertions(+), 10 deletions(-) delete mode 100644 docker/.virtual_documents/example.ipynb diff --git a/.gitignore b/.gitignore index ec35f528..35ee8697 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,5 @@ pycse/tests/reports _build .ipynb_checkpoints myfig*.png -ode-units-ca.png \ No newline at end of file +ode-units-ca.png +*/\.virtual_documents/* diff --git a/docker/.virtual_documents/example.ipynb b/docker/.virtual_documents/example.ipynb deleted file mode 100644 index a4869c8a..00000000 --- a/docker/.virtual_documents/example.ipynb +++ /dev/null @@ -1,7 +0,0 @@ -import numpy as np -import matplotlib.pyplot as plt - -x = np.linspace(0, 2 * np.pi) -plt.plot(x, np.sin(x)) -plt.xlabel('x') -plt.ylabel('y'); diff --git a/pycse-channel/readme.org b/pycse-channel/readme.org index d69ede50..7bcc75f1 100644 --- a/pycse-channel/readme.org +++ b/pycse-channel/readme.org @@ -690,7 +690,7 @@ root(f, 0.6) -* TODO Creating arrays in numpy +* Creating arrays in numpy - np.linspace diff --git a/setup.cfg b/setup.cfg index 2a51b430..21a8a6cb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,33 @@ +# Copyright 2015-2024 John Kitchin +# (see accompanying license files for details). + +[metadata] +name = pycse +version = '2.2.7' +author = John Kitchin +author_email = jkitchin@andrew.cmu.edu +license = GPL +description = python computations in science and engineering + +[options.entry_points] +console_scripts = + pycse = pycse.cli:pycse + +[options] +zip_safe = False +include_package_data = True +packages = find: +python_requires = >=3.8 +install_requires = + numpy + scipy + numdifftools + pandas + joblib + matplotlib + requests + + [flake8] max-line-length = 80 per-file-ignores = @@ -8,4 +38,9 @@ per-file-ignores = [pylint] -disable=invalid-name,too-few-public-methods,keyword-arg-before-vararg, unused-argument \ No newline at end of file +disable=invalid-name,too-few-public-methods,keyword-arg-before-vararg, unused-argument + + +# see ~/.pypirc for 2FA setup with token +# (shell-command "python setup.py sdist bdist_wheel") +# (shell-command "twine upload dist/*") \ No newline at end of file