forked from amcc1996/symbeam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
80 lines (74 loc) · 2.57 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
"""Setup file for symbeam package
"""
# Import modules
# --------------
import os
from setuptools import find_packages, setup
# Get path of the package, where steup.py is located
here = os.path.abspath(os.path.dirname(__file__))
# Read the verison number
with open(os.path.join(here, "VERSION")) as versionFile:
version = versionFile.read().strip()
# Store the README.md file
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
longDescription = f.read()
setup(
# Project name
name="symbeam",
# Version from the version file
version=version,
# Short description
description="A pedagogical package for bending diagrams",
# Long descriptionf from README.md
long_description=longDescription,
long_description_content_type="text/markdown",
# Github url
url="https://github.com/amcc1996/symbeam",
download_url="https://github.com/amcc1996/symbeam/releases/tag/" + version,
# Authors
author="António Manuel Couto Carneiro @FEUP",
author_email="[email protected]",
# Licensing
licence="MIT",
# Classifiers (selected from https://pypi.org/classifiers/)
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
# Python version obtained with https://pypi.org/project/check-python-versions/
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
],
# Keywords
keywords="bending-moment-diagrams statics sympy python3",
# Project URLs
project_urls={
# 'Documentation': 'https://packaging.python.org/tutorials/distributing-packages/',
"Source": "https://github.com/amcc1996/symbeam",
"Tracker": "https://github.com/amcc1996/symbeam/issues",
},
# Include packages in distribution archives
packages=find_packages(),
# Python version compatibility
python_requires=">=3.6, <3.11",
install_requires=[
"certifi>=2020.6.20",
"cycler>=0.10.0",
"kiwisolver>=1.2.0",
"matplotlib==3.3.1",
"mpmath>=1.1.0",
"numpy>=1.19.1",
"Pillow>=7.2.0",
"pyparsing>=2.4.7",
"python-dateutil>=2.8.1",
"six>=1.15.0",
"sympy>=1.6.2",
],
)