-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.03 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.03 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
import setuptools
import os
if os.name == 'nt': # Windows
rclone_binary = ['rclone.exe']
elif os.name == 'posix': # Unix-like
if os.uname().sysname == 'Linux':
rclone_binary = ['rclone']
elif os.uname().sysname == 'Darwin':
rclone_binary = ['rclone']
else:
raise NotImplementedError('Unsupported OS')
setuptools.setup(
name="pyrclone-wrapper",
version="0.0.1",
author="Yuangang Li",
author_email="yuangangli@outlook.com",
description="A package that provides a wrapper for RClone",
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
url="https://github.com/MrLYG/python-rclone.git",
packages=setuptools.find_packages(exclude=('mac', 'win', 'linux')),
include_package_data=True,
package_data={
'pyrclone': rclone_binary,
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)