-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (49 loc) · 1.38 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
# -*- coding: UTF-8 -*-
#! /usr/bin/python
from pathlib import Path
from setuptools import setup, find_packages
# ...
# Read library version into '__version__' variable
path = Path(__file__).parent / 'gelato' / 'version.py'
exec(path.read_text())
# ...
NAME = 'gelato'
VERSION = __version__
AUTHOR = 'Ahmed Ratnani'
EMAIL = '[email protected]'
URL = 'https://github.com/ratnania/GeLaTo'
DESCR = 'A Python library for Generalized Locally Toeplitz theory for Isogeometric Analysis.'
KEYWORDS = ['math']
LICENSE = "LICENSE"
setup_args = dict(
name = NAME,
version = VERSION,
description = DESCR,
long_description = open('README.rst').read(),
author = AUTHOR,
author_email = EMAIL,
license = LICENSE,
keywords = KEYWORDS,
url = URL,
# download_url = URL+'/tarball/master',
)
install_requires = [
# Third-party libraries from PyPi
'sympy>=1.2',
'numpy>=1.13',
'scipy>=0.18',
'matplotlib',
# Our libraries from PyPi
'sympde>=0.10',
]
# ...
packages = find_packages()
# ...
def setup_package():
setup(packages = packages,
include_package_data = True,
install_requires = install_requires,
zip_safe = True,
**setup_args)
if __name__ == "__main__":
setup_package()