-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (26 loc) · 923 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (26 loc) · 923 Bytes
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
import setuptools
from pathlib import Path
"""
NOTE: This project uses more than one version of a 'setup.py' file:
* 'setup.py', and
* 'setup_ci.py'
Based on:
https://github.com/popatam/gopy_build_wheel_example/blob/main/setup_ci.py
"""
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
version = (this_directory / "version.txt").read_text(encoding="utf-8").strip()
PACKAGE_PATH = "gohpygossh"
PACKAGE_NAME = "ohpygossh"
setuptools.setup(
name=PACKAGE_NAME,
packages=setuptools.find_packages(include=[PACKAGE_NAME]),
py_modules=[f"{PACKAGE_NAME}.{PACKAGE_PATH}"],
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/b-long/ohpygossh",
package_data={PACKAGE_NAME: ["*.so"]},
version=version,
author_email="b-long@users.noreply.github.com",
include_package_data=True,
)