Skip to content

Commit

Permalink
updates to pyproject.toml and quickstart tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlmorgan committed Feb 22, 2024
1 parent 1c84936 commit d9fb439
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 66 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.2.7
* no longer excludes python 3.10
* fixed bug that raised an error when fixing epsilon with tracking errors
* moved installation information from setup.py to pyproject.toml
* updated quickstart guide with examples for tracking error and fixed epsilon parameter
212 changes: 188 additions & 24 deletions docs/pages/quickstart.ipynb

Large diffs are not rendered by default.

28 changes: 25 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
[project]
name = "tweezepy"
version = "1.2.7"
authors = [
{ name="Ian L Morgan", email="[email protected]" },
]
description = "Tweezepy"
readme = "README.md"
requires-python = ">=3.6"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
dependencies = [
"autograd",
"numpy>=1.15",
"scipy"
]
[project.urls]
Documentation = "https://tweezepy.readthedocs.io/"
Repository = "https://github.com/ianlmorgan/tweezepy"
Issues = "https://github.com/ianlmorgan/tweezepy/issues"
Changelog = "https://github.com/ianlmorgan/tweezepy/CHANGELOG.md"
42 changes: 3 additions & 39 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,9 @@
Created on Tue May 5 16:31:29 2020
Author: Ian L. Morgan
email: [email protected]
Description: Exists for back compatibility.
All relevant information is now included in pyproject.toml
"""
import setuptools
import os
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

# This call to setup() does all the work
setuptools.setup(name="Tweezepy",
version="1.2.6",
author="Ian L. Morgan",
author_email="[email protected]",
description="Single-molecule force spectroscopy calibration",
url="https://github.com/ianlmorgan/tweezepy",
license="GPLv3",
packages=setuptools.find_packages(),
include_package_data=True,
python_requires = ">=3.6, !=3.10.*",
long_description=long_description,
long_description_content_type = 'text/markdown',
install_requires = ["autograd",
"corner",
"emcee",
"matplotlib",
"numba",
"numpy>=1.15",
"scipy",
],
setup_requires = ["setuptools>=40.6.0"],
tests_require=["unittest"],
classifiers=["Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
],
project_urls = {"Documentation" : "https://tweezepy.readthedocs.org"}
)
setuptools.setup()

0 comments on commit d9fb439

Please sign in to comment.