1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-24 08:02:14 +02:00

Update setup scripts

This commit is contained in:
Alexander Bushnev 2022-11-28 00:25:35 +01:00
parent 4547fe573c
commit 6524a55c54
4 changed files with 59 additions and 17 deletions

5
.gitignore vendored
View File

@ -21,9 +21,14 @@ parts/
sdist/
var/
wheels/
debian/photo-importer/
debian/files
.pybuild
*.egg-info/
.installed.cfg
*.egg
*.debhelper
*.substvars
# PyInstaller
# Usually these files are written by a python script from a template

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
photo-importer (1.1.2) stable; urgency=medium
* Update setup scripts
-- Alexander Bushnev <Alexander@Bushnev.pro> Mon, 28 Nov 2022 00:21:13 +0100
photo-importer (1.1.1) stable; urgency=medium
* Add date/time patterns in out subdirs support

2
debian/control vendored
View File

@ -1,7 +1,7 @@
Source: photo-importer
Section: utils
Priority: optional
Maintainer: Alexander Bushnev, <Alexander@Bushnev.ru>
Maintainer: Alexander Bushnev, <Alexander@Bushnev.pro>
Build-Depends: debhelper (>= 7), python3-all, dh-python, python3-setuptools, dh-systemd, cdbs
Standards-Version: 3.9.2
XS-Python3-Version: >= 3.2

View File

@ -1,17 +1,48 @@
from setuptools import setup
setup(name='photo-importer',
version='1.1.1',
import os
def get_long_description():
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
return long_description
setup(
name='photo-importer',
version='1.1.2',
description='Photo importer tool',
author='Alexander Bushnev',
author_email='Alexander@Bushnev.pro',
license='GNU General Public License v3.0',
packages=['photo_importer'],
data_files=[('/etc/',
['photo-importer.cfg']),
('/lib/systemd/system/',
['photo-importer.service']),
('share/photo-importer/web/',
['web/index.html', 'web/log.png'])],
data_files=[
('/etc/', ['photo-importer.cfg']),
('/lib/systemd/system/', ['photo-importer.service']),
('share/photo-importer/web/', ['web/index.html', 'web/log.png']),
],
install_requires=['PyExifTool', 'progressbar', 'psutil'],
scripts=['photo-importer', 'photo-importer-server'],
zip_safe=False)
url='https://github.com/sashacmc/photo-importer',
long_description=get_long_description(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Image Processing',
'Topic :: Multimedia :: Video',
'Topic :: Utilities',
],
zip_safe=False,
)