-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (54 loc) · 2.07 KB
/
setup.py
File metadata and controls
71 lines (54 loc) · 2.07 KB
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
63
64
65
66
67
68
69
70
71
# Copyright (C) 2020 Samuel Baker
DESCRIPTION = "Simple Objected based approach to using data from a csv"
LONG_DESCRIPTION = """
# csvObject
Simple Objected based approach to using data from a csv
<!--ABOUT THE PROJECT -->
## About The Project
csvObject is just a simple object base approach to loading in a csv file and using the data. In more complex cases when
doing actual data analysis or changing the structure of the file, using [pandas](https://github.com/pandas-dev/pandas)
makes much more sense. But if all you want is to have a light weight way of extracting the data from the csv file parsed
into an object with a few basic options without Numpy then this may be of interest.
All the source code can be found at the [csvObject git repository](https://github.com/sbaker-dev/csvObject) with
additional information found on the [docs site](https://sbaker-dev.github.io/csvObject/)
"""
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
DISTNAME = 'csvObject'
MAINTAINER = 'Samuel Baker'
MAINTAINER_EMAIL = 'samuelbaker.researcher@gmail.com'
LICENSE = 'MIT'
DOWNLOAD_URL = "https://github.com/sbaker-dev/csvObject"
VERSION = "0.08.1"
PYTHON_REQUIRES = ">=3.6"
INSTALL_REQUIRES = [
]
PACKAGES = [
"csvObject",
]
CLASSIFIERS = [
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
]
if __name__ == "__main__":
from setuptools import setup
import sys
if sys.version_info[:2] < (3, 7):
raise RuntimeError("csvObject requires python >= 3.7.")
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
license=LICENSE,
version=VERSION,
download_url=DOWNLOAD_URL,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
packages=PACKAGES,
classifiers=CLASSIFIERS
)