diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:17:00 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:17:00 +0100 |
commit | 5a325565f917c8b1d233d8e6373756c253400909 (patch) | |
tree | e6e0b475c7ab5c6a7ff4f0ea7ad1b08cecf05e68 /setup.py | |
parent | e1e77797454ac747b293f589d8f2e0243173a419 (diff) | |
parent | 98e567933723c59d1d97b3a85e649cfdce514676 (diff) | |
download | tagit-5a325565f917c8b1d233d8e6373756c253400909.tar.gz tagit-5a325565f917c8b1d233d8e6373756c253400909.tar.bz2 tagit-5a325565f917c8b1d233d8e6373756c253400909.zip |
Merge branch 'develop'v0.23.03
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 54 |
1 files changed, 46 insertions, 8 deletions
@@ -1,20 +1,58 @@ -from setuptools import setup +from setuptools import setup, find_packages, Extension import os setup( + # package metadata name='tagit', - version='0.0.1', + version='0.23.03', author='Matthias Baumgartner', - author_email='dev@igsor.net', - description='A frontend to the Black Star File System.', - long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(), + author_email='dev@bsfs.io', + description='The Black Star File System (BSFS) browser and tagger.', + long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), license='BSD', license_files=('LICENSE', ), - url='https://www.igsor.net/projects/blackstar/tagit/', + url='https://www.bsfs.io/tagit/', download_url='https://pip.igsor.net', - packages=('tagit', ), - install_requires=('kivy', ), + + # packages + packages=find_packages(include=['tagit']), + package_dir={'tagit': 'tagit'}, + # data files are included if mentioned in MANIFEST.in + include_package_data=True, + # setproperty needs to be compiled + # NOTE: Assumes that setproperty has already been cythonized! + ext_modules=[ + Extension( + name='tagit.external.setproperty.setproperty', + sources=['tagit/external/setproperty/setproperty.c'], + ), + ], + + # entrypoints + entry_points={ + 'console_scripts': [ + 'tagit = tagit.apps:main', + ], + }, + + # dependencies python_requires=">=3.7", + install_requires=( + 'bsfs', + 'pillow', + 'kivy', + 'pyparsing', + 'python-dateutil', + 'pyyaml', + 'requests', + ), + + extras_require={ + 'dev': ['coverage', 'mypy', 'pylint'], + 'doc': ['sphinx', 'sphinx-copybutton', 'sphinxcontrib-video', 'furo'], + 'test': ['pyexiv2'], + 'build': ['build'], + }, ) |