-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·41 lines (30 loc) · 950 Bytes
/
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
#!/usr/bin/python3
from setuptools import setup
import binwb_cli
import sys
with open("README.md", "r", encoding = "utf-8") as file: readme = file.read()
with open("requirements.txt", "r", encoding = "utf-8") as file: reqs = file.read().splitlines()
if sys.platform == "win32": scripts = [ "scripts/binwb.cmd" ]
else: scripts = [ "scripts/binwb" ]
setup(
name = "binwb-cli",
version = binwb_cli.__version__,
description = "Binary Workbench command line client",
author = "Hexalinq",
author_email = "info@hexalinq.com",
maintainer = "Istvan Toth",
maintainer_email = "istvan@hexalinq.com",
license = "GPLv2",
long_description = readme,
long_description_content_type = "text/markdown",
include_package_data = True,
install_requires = reqs,
url = "https://github.com/hexalinq/binwb-cli/",
packages = [ "binwb_cli" ],
scripts = scripts,
#entry_points = {
# "console_scripts": [
# "binwb = binwb_cli.main:main",
# ],
#},
)