generated from joaomcteixeira/python-project-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
83 lines (76 loc) · 2.65 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
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
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""Setup dot py."""
from __future__ import absolute_import, print_function
# import re
from glob import glob
from os.path import basename, dirname, join, splitext
from setuptools import find_packages, setup
def read(*names, **kwargs):
"""Read description files."""
path = join(dirname(__file__), *names)
with open(path, encoding=kwargs.get('encoding', 'utf8')) as fh:
return fh.read()
long_description = '{}\n{}'.format(
read('README.rst'),
read(join('docs', 'CHANGELOG.rst')),
)
setup(
name='parallel_write',
version='0.0.10',
description='Writes to many open file objects in parallel.',
long_description=long_description,
long_description_content_type='text/x-rst',
license='MIT License',
author='NAGY, Attila',
author_email='[email protected]',
url='https://github.com/Mikata-Project/parallel_write',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(i))[0] for i in glob("src/*.py")],
include_package_data=True,
zip_safe=False,
classifiers=[
# complete classifier list:
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
],
project_urls={
'webpage': 'https://github.com/Mikata-Project/parallel_write',
'Documentation': 'https://parallel-write.readthedocs.io/en/latest/',
'Changelog': 'https://github.com/Mikata-Project/parallel_write/blob/master/docs/CHANGELOG.rst',
'Issue Tracker': 'https://github.com/Mikata-Project/parallel_write/issues',
'Discussion Forum': 'https://github.com/Mikata-Project/parallel_write/discussions',
},
keywords=[
'io', 'parallel', 'distributed', 'multiple'
],
python_requires='>=3.5',
install_requires=[
# eg: 'aspectlib==1.1.1', 'six>=1.7',
],
extras_require={
# eg:
# 'rst': ['docutils>=0.11'],
# ':python_version=="2.6"': ['argparse'],
},
setup_requires=[
# 'pytest-runner',
# 'setuptools_scm>=3.3.1',
],
entry_points={},
# cmdclass={'build_ext': optional_build_ext},
# ext_modules=[
# Extension(
# splitext(relpath(path, 'src').replace(os.sep, '.'))[0],
# sources=[path],
# include_dirs=[dirname(path)]
# )
# for root, _, _ in os.walk('src')
# for path in glob(join(root, '*.c'))
# ],
)