mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 09:49:51 +00:00
Compare commits
5 Commits
5a4958cff9
...
a685524dd5
Author | SHA1 | Date | |
---|---|---|---|
a685524dd5 | |||
74918e2c56 | |||
18895d983b | |||
fe720208ea | |||
091d9e9239 |
50
.github/workflows/codeql-analysis.yml
vendored
Normal file
50
.github/workflows/codeql-analysis.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: "CodeQL"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
# The branches below must be a subset of the branches above
|
||||||
|
branches: [ master ]
|
||||||
|
schedule:
|
||||||
|
- cron: '24 20 * * 2'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: [ 'cpp', 'python' ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v1
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||||
|
- if: matrix.language == 'cpp'
|
||||||
|
name: Build Cpp
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install python3-pyqt5
|
||||||
|
make modules
|
||||||
|
- if: matrix.language == 'python'
|
||||||
|
name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v1
|
||||||
|
# Analysis
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v1
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
__pycache__
|
__pycache__
|
||||||
|
*.egg-info
|
||||||
*.so
|
*.so
|
||||||
*.mo
|
*.mo
|
||||||
*.waf*
|
*.waf*
|
||||||
|
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
recursive-include core *.h
|
||||||
|
recursive-include core *.m
|
||||||
|
include run.py
|
43
setup.cfg
Normal file
43
setup.cfg
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
[metadata]
|
||||||
|
name = dupeGuru
|
||||||
|
version = attr: core.__version__
|
||||||
|
url = https://github.com/arsenetar/dupeguru
|
||||||
|
project_urls =
|
||||||
|
Bug Reports = https://github.com/arsenetar/dupeguru/issues
|
||||||
|
author = Andrew Senetar
|
||||||
|
author_email = arsenetar@voltaicideas.net
|
||||||
|
license = GPLv3
|
||||||
|
license_files = license
|
||||||
|
description = dupeGuru is a tool to find duplicate files on your computer.
|
||||||
|
long_description = file:README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 5 - Production/Stable
|
||||||
|
Intended Audience :: End Users/Desktop
|
||||||
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||||
|
Operating System :: MacOS :: MacOS X
|
||||||
|
Operating System :: Microsoft :: Windows
|
||||||
|
Operating System :: POSIX
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
|
Topic :: Desktop Environment :: File Managers
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.6
|
||||||
|
install_requires =
|
||||||
|
Send2Trash>=1.3.0
|
||||||
|
polib>=1.1.0
|
||||||
|
hsaudiotag3k>=1.1.3*
|
||||||
|
distro>=1.5.0
|
||||||
|
PyQt5 >=5.14.1,<6.0; sys_platform != 'linux'
|
||||||
|
pywin32>=228; sys_platform == 'win32'
|
||||||
|
tests_require =
|
||||||
|
pytest >=6,<7
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
dupeguru = run.py
|
29
setup.py
Normal file
29
setup.py
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
from setuptools import setup, Extension
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
exts = [
|
||||||
|
Extension(
|
||||||
|
"_block",
|
||||||
|
[
|
||||||
|
str(Path("core", "pe", "modules", "block.c")),
|
||||||
|
str(Path("core", "pe", "modules", "common.c")),
|
||||||
|
],
|
||||||
|
include_dirs=[str(Path("core", "pe", "modules"))],
|
||||||
|
),
|
||||||
|
Extension(
|
||||||
|
"_cache",
|
||||||
|
[
|
||||||
|
str(Path("core", "pe", "modules", "cache.c")),
|
||||||
|
str(Path("core", "pe", "modules", "common.c")),
|
||||||
|
],
|
||||||
|
include_dirs=[str(Path("core", "pe", "modules"))],
|
||||||
|
),
|
||||||
|
Extension("_block_qt", [str(Path("qt", "pe", "modules", "block.c"))]),
|
||||||
|
]
|
||||||
|
|
||||||
|
headers = [str(Path("core", "pe", "modules", "common.h"))]
|
||||||
|
|
||||||
|
setup(
|
||||||
|
ext_modules=exts,
|
||||||
|
headers=headers,
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user