-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (54 loc) · 1.72 KB
/
setup.py
File metadata and controls
68 lines (54 loc) · 1.72 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
60
61
62
63
64
65
66
67
68
import os
import sys
from setuptools import setup, find_packages
def read(file_name):
with open(os.path.join(os.path.dirname(__file__), file_name)) as f:
return f.read()
print("sys_platform:", sys.platform)
print("setup.py prefix:", sys.prefix)
setup(
name="easyshare",
version="0.17",
# Requires python3.6
python_requires=">=3.6",
# Automatically import easyshare packages
packages=find_packages(),
# Include the files specified in MANIFEST.in in the release archive
include_package_data=True,
# Scripts to install to the user executable path.
entry_points={
"console_scripts": [
"es = easyshare.es.__main__:main",
"esd = easyshare.esd.__main__:main",
"es-tools = easyshare.estools.__main__:main"
]
},
data_files=[
(
"share/man/man1", [
"docs/sphinx/build/man/es.1",
"docs/sphinx/build/man/esd.1",
"docs/sphinx/build/man/es-tools.1",
]
)
],
# Tests
test_suite="tests",
# Metadata
author="Stefano Dottore",
author_email="docheinstein@gmail.com",
description="Client-Server command line application for share files, similar to FTP but more powerful;"
" written in Python 3.6+",
long_description=read('README.MD'),
long_description_content_type="text/markdown",
license="MIT",
keywords="easyshare",
url="https://github.com/Docheinstein/easyshare",
install_requires=[
"colorama",
"hmd",
"ptyprocess; 'linux' in sys_platform or 'darwin' in sys_platform",
"pywin32; platform_system == 'Windows'",
"pyreadline; platform_system == 'Windows'"
]
)