-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
74 lines (60 loc) · 2.01 KB
/
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
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
from setuptools import setup, find_packages
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
# 'Intended Audience :: Developers',
# 'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: Apache License Version 2.0',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3'
]
long_description = ''
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
description = 'Fast 7zip crack assistant tool which support GPU/CPU.'
install_requires = []
setup(
name='tt7zcrack',
version='0.2.0',
description=description,
author='tp7309',
author_email='yiyou7309@gmail.com',
url='https://github.com/tp7309/tt7zcrack',
license='Apache License Version 2.0',
keywords='7z 7zip password crack hashcat jtr john gpu',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=['docs', 'tests*']),
include_package_data=True,
install_requires=install_requires,
entry_points={
'console_scripts': [
'tt7zcrack = src.tt7zcrack:main',
],
},
classifiers=[
"Programming Language :: Python :: 3",
],
python_requires='>=3.6',
)
# test
# nose2
# upload
# python setup.py bdist_wheel
# python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# python -m pip install --index-url https://test.pypi.org/simple/ --no-deps tt7zcrack -U
# twine upload dist/*
# pyinstaller
# pyinstaller --onefile src/tt7zcrack.py
# auto generate requirements.txt
# pip freeze --local > requirements.txt
# view coverage report
# coverage html -d coverage_html
# format code style
# yapf -i -r .