forked from zfergus/topopt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (51 loc) · 1.7 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
"""Install topopt."""
from setuptools import setup
import os
import topopt
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
long_description = long_description.replace(
"assets/imgs",
"https://raw.githubusercontent.com/zfergus/topopt/master/assets/imgs/"
)
setup(
name=topopt.__name__,
packages=[topopt.__name__],
version=topopt.__version__,
license=topopt.__license__,
description="A Python Library for Topology Optimization",
long_description=long_description,
long_description_content_type='text/markdown',
author=topopt.__author__,
author_email=topopt.__email__,
url="https://github.com/zfergus/topopt",
keywords=["Topology Optimization",
"Sturctural Optimization", "Simulation"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
python_requires=">= 3.5",
install_requires=[
"numpy",
"scipy",
"matplotlib",
"nlopt",
"cvxopt",
"pathlib; python_version < '3.4'",
],
project_urls={
"Bug Reports": "https://github.com/zfergus/topopt/issues",
"Source": "https://github.com/zfergus/topopt/",
},
)