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