forked from meshpro/meshzoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (42 loc) · 1.31 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
# -*- coding: utf-8 -*-
#
import os
from setuptools import setup
import codecs
# https://packaging.python.org/single_source_version/
base_dir = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(base_dir, 'meshzoo', '__about__.py')) as f:
exec(f.read(), about)
def read(fname):
try:
content = codecs.open(
os.path.join(os.path.dirname(__file__), fname),
encoding='utf-8'
).read()
except Exception:
content = ''
return content
setup(name='meshzoo',
version=about['__version__'],
author=about['__author__'],
author_email=about['__author_email__'],
packages=['meshzoo'],
description='A collection of meshes for numerical computation',
long_description=read('README.rst'),
url='https://github.com/nschloe/meshzoo',
download_url='https://github.com/nschloe/meshzoo/releases',
license=about['__license__'],
platforms='any',
install_requires=[
'numpy'
],
classifiers=[
about['__status__'],
about['__license__'],
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Mathematics'
]
)