-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.35 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.35 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from io import open
import emdfparse
entry_points = {
"console_scripts": [
"emdfparse = emdfparse.cli:main",
]
}
with open("requirements.txt") as f:
requires = [l for l in f.read().splitlines() if l]
readme = "README.md"
if os.path.exists("README.rst"):
readme = "README.rst"
with open(readme, encoding='utf-8') as f:
long_description = f.read()
setup(
name="emdfparse",
version=emdfparse.__version__,
author="lostsummer",
author_email="lostsummer@gmail.com",
description="emoney data file parser",
long_description=long_description,
packages=find_packages(),
include_package_data=True,
install_requires=requires,
entry_points=entry_points,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)