Skip to content

Commit fa4f80d

Browse files
committed
next publish attempt
1 parent dc71980 commit fa4f80d

File tree

4 files changed

+41
-15
lines changed

4 files changed

+41
-15
lines changed

magpylib_force/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88
# module level dunders
9-
__version__ = "0.1.5"
9+
__version__ = "0.1.6"
1010
__author__ = "SAL"
1111
__all__ = [
1212
"getFTcube",

pyproject.toml

-14
This file was deleted.

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
magpylib>=5.0.1

setup.py

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
from setuptools import setup, find_packages
2+
3+
with open("magpylib_force/__init__.py") as handle:
4+
for line in handle:
5+
if "__version__" in line:
6+
version = line.split(" = ")[-1].replace('"', "")
7+
break
8+
9+
with open("./README.md") as handle:
10+
readme_text = handle.read()
11+
12+
_short_description = (
13+
"An extension to the Magpylib library, providing force computation"
14+
)
15+
16+
with open("./requirements.txt") as handle:
17+
requirements = [lr.strip() for lr in handle.read().splitlines() if lr.strip()]
18+
19+
setup(
20+
name="magpylib-force",
21+
version=version,
22+
description=_short_description,
23+
long_description=readme_text,
24+
long_description_content_type="text/markdown",
25+
author="Alexandre Boisselet",
26+
author_email="[email protected]",
27+
url=("https://github.com/" "magpylib/magpylib-material-response"),
28+
license="MIT",
29+
packages=find_packages(),
30+
# include anything specified in Manifest.in
31+
install_requires=requirements,
32+
classifiers=[
33+
"Development Status :: 2 - Pre-Alpha",
34+
"License :: OSI Approved :: BSD License",
35+
"Programming Language :: Python :: 3",
36+
"Topic :: Software Development :: Libraries :: Python Modules",
37+
],
38+
keywords="",
39+
)

0 commit comments

Comments
 (0)