Skip to content

Commit

Permalink
Update setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Nov 27, 2022
1 parent 4547fe5 commit 6524a55
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
photo-importer (1.1.2) stable; urgency=medium

* Update setup scripts

-- Alexander Bushnev <[email protected]> Mon, 28 Nov 2022 00:21:13 +0100

photo-importer (1.1.1) stable; urgency=medium

* Add date/time patterns in out subdirs support
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
@@ -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
Expand Down
63 changes: 47 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
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='[email protected]',
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,
)

0 comments on commit 6524a55

Please sign in to comment.