-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
62 lines (56 loc) · 1.66 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
# coding: utf8
"""
Setup script for copulogram
============================
This script allows to install copulogram within the Python environment.
Usage
-----
::
python setup.py install
"""
import re
import os
from setuptools import setup, find_packages
# Get the version from __init__.py
path = os.path.join(os.path.dirname(__file__), 'copulogram', '__init__.py')
with open(path) as f:
version_file = f.read()
version = re.search(r"^\s*__version__\s*=\s*['\"]([^'\"]+)['\"]",
version_file, re.M)
if version:
version = version.group(1)
else:
raise RuntimeError("Unable to find version string.")
# Long description
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='copulogram',
version=version,
license='LGPLv3+',
author="Elias Fekhari, Vincent Chabridon",
author_email='elias.fekhari@edf.fr',
packages=['copulogram'],
url='https://github.com/efekhari27/copulogram',
keywords=['OpenTURNS', 'Copula'],
description="Data visualization for multivariate datasets with a nonlinear dependence structure",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
"pandas",
"seaborn",
"matplotlib",
"openturns>=1.20",
#"bokeh>=3.2",
],
include_package_data=True,
classifiers=[
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
],
)