-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
34 lines (30 loc) · 892 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
import setuptools
import tarfile
import os
# Create tar file with required files
def package_artifacts():
with tarfile.open("package.tar", "w") as package:
package.add("scripts")
package.add("bash_helpers")
package_artifacts()
os.rename("package.tar", "genume/package.tar")
setuptools.setup(
name="genume",
version="0.1.2",
author="CSD FOSS Team",
description="A graphical enumeration tool",
url="https://github.com/CSD-FOSS-Team/genume",
packages=setuptools.find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'genume = genume.__main__:consoleentry'
]
},
classfilters=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: POSIX",
],
)
os.remove("genume/package.tar")