forked from fusepy/fusepy
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
101 lines (83 loc) · 3.25 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# -*- coding: utf-8 -*-
"""
REFUSE
Simple cross-plattform ctypes bindings for libfuse / FUSE for macOS / WinFsp
https://github.com/pleiszenburg/refuse
setup.py: Used for package distribution
Copyright (C) 2008-2020 refuse contributors
<LICENSE_BLOCK>
The contents of this file are subject to the Internet Systems Consortium (ISC)
license ("ISC license" or "License"). You may not use this file except in
compliance with the License. You may obtain a copy of the License at
https://opensource.org/licenses/ISC
https://github.com/pleiszenburg/refuse/blob/master/LICENSE
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
specific language governing rights and limitations under the License.
</LICENSE_BLOCK>
"""
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# IMPORT
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
import os
from setuptools import find_packages, setup
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# SETUP
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# BUMP VERSION HERE!
_version_ = '0.0.4'
# List all versions of Python which are supported
python_minor_min = 5
python_minor_max = 8
confirmed_python_versions = [
'Programming Language :: Python :: 3.{MINOR:d}'.format(MINOR = minor)
for minor in range(python_minor_min, python_minor_max + 1)
]
# Fetch readme file
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()
# Development dependencies
development_deps_list = [
'coverage',
'pytest',
'python-language-server[all]',
'setuptools',
'Sphinx',
'sphinx_rtd_theme',
'twine',
'wheel'
]
setup(
name = 'refuse',
packages = find_packages('src'),
package_dir = {'': 'src'},
version = _version_,
description = 'Simple cross-plattform ctypes bindings for libfuse / FUSE for macOS / WinFsp',
long_description = long_description,
long_description_content_type = 'text/markdown',
author = 'Sebastian M. Ernst',
author_email = '[email protected]',
url = 'https://github.com/pleiszenburg/refuse',
download_url = 'https://github.com/pleiszenburg/refuse/archive/v%s.tar.gz' % _version_,
license = 'ISC',
keywords = ['fuse', 'libfuse'],
include_package_data = True,
python_requires = '>=3.{MINOR:d}'.format(MINOR = python_minor_min),
install_requires = [],
extras_require = {'dev': development_deps_list},
zip_safe = False,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: BSD',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 3',
] + confirmed_python_versions + [
'Topic :: System :: Filesystems',
]
)