mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 13:18:28 +03:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94406bda7a | ||
|
|
6244f35cff | ||
|
|
adb3a7332f | ||
|
|
0d903fa196 | ||
|
|
e5f3e56968 | ||
|
|
57e7023f64 | ||
|
|
be9e4b2032 | ||
|
|
59603d1136 | ||
|
|
db32b2db0d |
6
.github/workflows/python-publish.yaml
vendored
6
.github/workflows/python-publish.yaml
vendored
@@ -46,11 +46,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pipenv run python setup.py sdist bdist_wheel
|
python -m pipenv run python setup.py sdist bdist_wheel
|
||||||
|
|
||||||
# to upload to test pypi, pass repository_url: https://test.pypi.org/legacy/ and use secrets.TEST_PYPI_TOKEN
|
|
||||||
- name: Publish a Python distribution to PyPI
|
- name: Publish a Python distribution to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.PYPI_TOKEN }}
|
verbose: true
|
||||||
# repository_url: https://test.pypi.org/legacy/
|
skip_existing: true
|
||||||
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
packages_dir: dist/
|
packages_dir: dist/
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TAG=$(python -c 'from src.auto_archiver.version import VERSION; print("v" + VERSION)')
|
TAG=$(python -c 'from src.auto_archiver.version import __version__; print("v" + __version__)')
|
||||||
|
|
||||||
read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt
|
read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt
|
||||||
|
|
||||||
|
|||||||
22
setup.cfg
22
setup.cfg
@@ -1,32 +1,36 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = auto_archiver
|
name = auto_archiver
|
||||||
version = 0.2.17
|
version = attr: auto_archiver.version.__version__
|
||||||
author = Bellingcat
|
author = Bellingcat
|
||||||
author_email = tech@bellingcat.com
|
author_email = tech@bellingcat.com
|
||||||
description = Easily archive online media content
|
description = Easily archive online media content
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
keywords = archive, oosi, osint, scraping
|
keywords = archive, oosi, osint, scraping
|
||||||
license = MIT
|
license = MIT
|
||||||
classifiers =
|
classifiers =
|
||||||
Intended Audience :: Developers,
|
Intended Audience :: Developers
|
||||||
Intended Audience :: Science/Research,
|
Intended Audience :: Science/Research
|
||||||
License :: OSI Approved :: MIT License,
|
License :: OSI Approved :: MIT License
|
||||||
Programming Language :: Python :: 3,
|
Programming Language :: Python :: 3
|
||||||
|
project_urls =
|
||||||
|
Source Code = https://github.com/bellingcat/auto-archiver
|
||||||
|
Bug Tracker = https://github.com/bellingcat/auto-archiver/issues
|
||||||
|
Bellingcat = https://www.bellingcat.com
|
||||||
|
platforms = any
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
setup_requires =
|
setup_requires =
|
||||||
setuptools-pipfile
|
setuptools-pipfile
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
include_package_data = True
|
|
||||||
package_dir=
|
package_dir=
|
||||||
=src
|
=src
|
||||||
packages=find:
|
packages=find:
|
||||||
find_packages=true
|
find_packages=true
|
||||||
python_requires = >=3.8
|
python_requires = >=3.8
|
||||||
|
|
||||||
# [options.package_data]
|
[options.package_data]
|
||||||
# * = *.txt, *.rst
|
* = *.html
|
||||||
# hello = *.msg
|
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ from . import archivers, databases, enrichers, feeders, formatters, storages, ut
|
|||||||
from .core.orchestrator import ArchivingOrchestrator
|
from .core.orchestrator import ArchivingOrchestrator
|
||||||
from .core.config import Config
|
from .core.config import Config
|
||||||
# making accessible directly
|
# making accessible directly
|
||||||
from .core.metadata import Metadata
|
from .core.metadata import Metadata
|
||||||
|
|||||||
0
src/auto_archiver/formatters/templates/__init__.py
Normal file
0
src/auto_archiver/formatters/templates/__init__.py
Normal file
@@ -3,10 +3,10 @@ _MAJOR = "0"
|
|||||||
_MINOR = "2"
|
_MINOR = "2"
|
||||||
# On main and in a nightly release the patch should be one ahead of the last
|
# On main and in a nightly release the patch should be one ahead of the last
|
||||||
# released build.
|
# released build.
|
||||||
_PATCH = "17"
|
_PATCH = "23"
|
||||||
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
||||||
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
||||||
_SUFFIX = ""
|
_SUFFIX = ""
|
||||||
|
|
||||||
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
|
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
|
||||||
VERSION = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX)
|
__version__ = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX)
|
||||||
Reference in New Issue
Block a user