-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
57 lines (49 loc) · 1.86 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
# -*- coding: utf-8 -*-
"""Metadata file."""
from setuptools import setup
import os
import sys
from io import open
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
version_file = os.path.abspath("speedcopy/version.py")
if sys.version_info > (3, 4):
from importlib.machinery import SourceFileLoader
version_mod = SourceFileLoader("version", version_file).load_module()
else:
import imp
version_mod = imp.load_source("version", version_file)
version = version_mod.version
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Filesystems"
]
setup(name='speedcopy',
version=version,
description=('Replacement or alternative for python copyfile() '
'utilizing server side copy on network shares for faster '
'copying.'),
author='Ondrej Samohel',
author_email='[email protected]',
url='https://github.com/antirotor/speedcopy',
long_description=long_description,
long_description_content_type='text/markdown',
packages=['speedcopy'],
classifiers=classifiers,
tests_require=['pytest'],
)