This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
48 lines (42 loc) · 1.52 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
#!/usr/bin/env python
"""discover_feature_relationships tries to find column-to-column relationships in your dataframe using machine learning
"""
import io
import re
doclines = __doc__.split("\n")
# stolen from: https://github.com/pallets/flask/blob/master/setup.py
with io.open('beyond_correlation/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
# stolen from https://packaging.python.org/tutorials/packaging-projects/
with open("README.md", "r") as fh:
long_description = fh.read()
# Chosen from http://www.python.org/pypi?:action=list_classifiers
classifiers = """\
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: Free To Use But Restricted
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Testing
"""
from setuptools import setup, find_packages
setup(
name="beyond_correlation",
version=version,
license='MIT',
url="https://github.com/ianozsvald/beyond_correlation",
author="Ian Ozsvald",
author_email="[email protected]",
maintainer="Ian Ozsvald",
maintainer_email="[email protected]",
description=doclines[0],
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=classifiers.split("\n"),
platforms=["Any."],
packages=find_packages(),
)