diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:41 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:41 +0100 |
commit | 98e567933723c59d1d97b3a85e649cfdce514676 (patch) | |
tree | e6e0b475c7ab5c6a7ff4f0ea7ad1b08cecf05e68 /setup.py | |
parent | bf98c062ece242a5fc56de0f1adbc12f0588809a (diff) | |
parent | 5e88d395dee651175a277092c712249e3898a7d8 (diff) | |
download | tagit-98e567933723c59d1d97b3a85e649cfdce514676.tar.gz tagit-98e567933723c59d1d97b3a85e649cfdce514676.tar.bz2 tagit-98e567933723c59d1d97b3a85e649cfdce514676.zip |
Merge branch 'mb/newdesign' into develop
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 51 |
1 files changed, 41 insertions, 10 deletions
@@ -1,27 +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', ), + + # 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', - #'pyexiv2', (for test/utils/test_time.py) - 'pyparsing' + 'pyparsing', 'python-dateutil', 'pyyaml', 'requests', ), - python_requires=">=3.7", + + extras_require={ + 'dev': ['coverage', 'mypy', 'pylint'], + 'doc': ['sphinx', 'sphinx-copybutton', 'sphinxcontrib-video', 'furo'], + 'test': ['pyexiv2'], + 'build': ['build'], + }, ) |