-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to src directory, use importlib, stop using setup.py
- Loading branch information
Showing
26 changed files
with
42 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
python3 setup.py sdist upload --sign | ||
#python3 setup.py bdist_egg upload --sign | ||
rm dist/* | ||
uv run python3 -m build | ||
uv run twine upload dist/* | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ dev-dependencies = [ | |
"mock>=5.1.0", | ||
"setuptools>=73.0.1", | ||
"twine>=5.1.1", | ||
"build>=1.2.1", | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# -*- mode: python; coding: utf-8 -*- | ||
from __future__ import print_function | ||
|
||
__author__ = "Miguel Angel Ajo Pelayo" | ||
__email__ = "[email protected]" | ||
__copyright__ = "Copyright (C) 2013 Miguel Angel Ajo Pelayo" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,23 @@ | |
|
||
__author__ = "Miguel Angel Ajo Pelayo" | ||
__email__ = "[email protected]" | ||
__copyright__ = "Copyright (C) 2013 Miguel Angel Ajo Pelayo" | ||
__copyright__ = "Copyright (C) Miguel Angel Ajo Pelayo" | ||
__license__ = "GPLv3" | ||
|
||
import argparse | ||
from importlib.metadata import version | ||
import logging | ||
import os | ||
import sys | ||
import time | ||
import traceback | ||
|
||
from photosort import config | ||
from photosort import exif | ||
from photosort import media | ||
from photosort import photodb | ||
from photosort import walk | ||
from photosort.version import VERSION | ||
|
||
from . import config | ||
from . import exif | ||
from . import media | ||
from . import photodb | ||
from . import walk | ||
|
||
|
||
class PhotoSort: | ||
|
@@ -113,7 +114,7 @@ def monitor(self): | |
|
||
@staticmethod | ||
def version(): | ||
print("photosort version %s" % VERSION) | ||
print("photosort version %s" % version('photosort')) | ||
|
||
|
||
def main(): | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
import os | ||
import time | ||
|
||
from photosort import media | ||
from . import media | ||
|
||
|
||
class WalkForMedia: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.