-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (36 loc) · 1.26 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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('dfsummarizer/__init__.py').read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
with open("markdown_test.md", "rb") as f:
example = f.read().decode("utf-8")
long_descr = long_descr + "\n" + example
setup(
name = "dfsummarizer",
packages = ["dfsummarizer"],
license = "MIT",
install_requires = ['pandas>=0.25.3', 'numpy>=1.16.4'],
entry_points = {
"console_scripts": ['dfsummarizer = dfsummarizer.dfsummarizer:main']
},
include_package_data=True,
version = version,
description = "Python command line application to summarize a CSV or TSV dataset.",
long_description = long_descr,
long_description_content_type='text/markdown',
author = "John Hawkins",
author_email = "[email protected]",
url = "http://john-hawkins.github.io",
project_urls = {
'Documentation': "http://dfsummarizer.readthedocs.io",
'Source': "https://github.com/john-hawkins/dfsummarizer",
'Tracker': "https://github.com/john-hawkins/dfsummarizer/issues"
}
)