-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (50 loc) · 1.76 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (50 loc) · 1.76 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
def _requires_from_file(filename):
return open(filename).read().splitlines()
tests_require = _requires_from_file('test-requirements.txt')
# version
here = os.path.dirname(os.path.abspath(__file__))
version = next((line.split('=')[1].strip().replace("'", '')
for line in open(os.path.join(here,
'spreadsheetconverter',
'__init__.py'))
if line.startswith('__version__ = ')),
'0.0.dev0')
setup(
name="SpreadsheetConverter",
version=version,
url='https://github.com/gumi/spreadsheetconverter/',
author='Yugo Shimizu',
author_email='yugo.shimizu@gu3.co.jp',
maintainer='Yugo Shimizu',
maintainer_email='yugo.shimizu@gu3.co.jp',
description='Spreadsheet Converter',
long_description=readme,
license="MIT",
packages=find_packages(),
python_requires='>=3.10',
install_requires=_requires_from_file('requirements.txt'),
tests_require=tests_require,
extras_require={"testing": tests_require},
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: MIT License',
],
entry_points="""
# -*- Entry points: -*-
[console_scripts]
ssconvert = spreadsheetconverter.scripts.convert:main
""",
)