-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (27 loc) · 1005 Bytes
/
setup.py
File metadata and controls
32 lines (27 loc) · 1005 Bytes
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
import io
from setuptools import find_packages, setup
def get_requirements():
requirements = open("requirements.txt", "r").read()
return list(filter(lambda x: x != "", requirements.split()))
main_ns = {}
exec(open("gamry_parser/version.py").read(), main_ns)
setup(
name="gamry_parser",
version=main_ns["__version__"],
description="Package for parsing the contents of Gamry EXPLAIN data (DTA) files.",
author="Brad Liang",
author_email="brad.liang@percusense.com",
url="https://github.com/bcliang/gamry-parser",
license="MIT",
keywords="gamry electrochemistry EXPLAIN DTA parser",
packages=find_packages(),
long_description=io.open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
install_requires=get_requirements(),
test_suite="tests",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
)