mirror of
https://github.com/sashacmc/photo-importer.git
synced 2024-11-16 10:08:40 +02:00
Update setup scripts
This commit is contained in:
parent
4547fe573c
commit
6524a55c54
5
.gitignore
vendored
5
.gitignore
vendored
@ -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
6
debian/changelog
vendored
@ -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
2
debian/control
vendored
@ -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
|
||||
|
63
setup.py
63
setup.py
@ -1,17 +1,48 @@
|
||||
from setuptools import setup
|
||||
setup(name='photo-importer',
|
||||
version='1.1.1',
|
||||
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'])],
|
||||
install_requires=['PyExifTool', 'progressbar', 'psutil'],
|
||||
scripts=['photo-importer', 'photo-importer-server'],
|
||||
zip_safe=False)
|
||||
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']),
|
||||
],
|
||||
install_requires=['PyExifTool', 'progressbar', 'psutil'],
|
||||
scripts=['photo-importer', 'photo-importer-server'],
|
||||
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,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user