Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (69 loc) · 2.25 KB
/
Copy pathsetup.py
File metadata and controls
77 lines (69 loc) · 2.25 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
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
<<<<<<< HEAD
"""
Setup script for MalwareRat - Malware Static Analysis Tool
"""
import os
from setuptools import setup, find_packages
# Read dependencies from requirements.txt
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), encoding="utf-8") as f:
requirements = []
for line in f:
line = line.strip()
if not line or line.startswith("#"):
continue
# Remove inline comments
line = line.split("#")[0].strip()
if line:
requirements.append(line)
# Read README for long description
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="malware-rat",
version="0.1.0",
description="Malware Static Analysis Tool with GUI",
long_description=long_description,
long_description_content_type="text/markdown",
author="MalwareRat Team",
author_email="",
url="https://github.com/yourusername/MalwareRat",
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
python_requires=">=3.7,<3.8", # Specifically for Python 3.7 compatibility
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
"console_scripts": [
"malware-rat=detec:main", # Assuming detec.py has main() function
"malware-rat-gui=malware_rat_gui.main:main",
],
},
)
=======
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="UTF-8") as f:
readme = f.read()
version = "0.1.0"
package_data = {}
setup(
name="ember",
version=version,
description="Endgame Malware BEnchmark for Research",
long_description=readme,
packages=["ember"],
package_data=package_data,
author_email="proth@endgame.com")
>>>>>>> 17ed1f5402a76235460239db3b8d928c4b186fcb