"Fossies" - the Fresh Open Source Software Archive

Member "buku-4.3/setup.py" (31 Jan 2020, 3060 Bytes) of package /linux/privat/buku-4.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "setup.py" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 4.2.2_vs_4.3.

    1 #!/usr/bin/env python3
    2 
    3 import os
    4 import re
    5 import shutil
    6 
    7 from setuptools import setup, find_packages
    8 
    9 if os.path.isfile('buku'):
   10     shutil.copyfile('buku', 'buku.py')
   11 
   12 with open('buku.py', encoding='utf-8') as f:
   13     version = re.search('__version__ = \'([^\']+)\'', f.read()).group(1)  # type: ignore
   14 
   15 with open('README.md', encoding='utf-8') as f:
   16     long_description = f.read()
   17 
   18 tests_require = [
   19     'attrs>=17.4.0',
   20     'beautifulsoup4>=4.6.0',
   21     'Click>=7.0',
   22     'flake8>=3.4.1',
   23     'hypothesis>=3.7.0',
   24     'mypy-extensions==0.4.1',
   25     'py>=1.5.0',
   26     'pylint>=1.7.2',
   27     'pytest-cov',
   28     'pytest>=3.4.2',
   29     'PyYAML>=4.2b1',
   30     'setuptools>=41.0.1',
   31     'vcrpy>=1.13.0',
   32 ]
   33 
   34 
   35 server_require = [
   36     'appdirs>=1.4.3',
   37     'arrow>=0.12.1',
   38     'beautifulsoup4>=4.5.3',
   39     'cffi>=1.9.1',
   40     'click>=6.7',
   41     'Flask-Admin>=1.5.1',
   42     'Flask-API>=0.6.9',
   43     'Flask-Bootstrap>=3.3.7.1',
   44     'flask-paginate>=0.5.1',
   45     'flask-reverse-proxy-fix>=0.2.1',
   46     'Flask-WTF>=0.14.2',
   47     'Flask>=1.0.2',
   48     'idna>=2.5',
   49     'itsdangerous>=0.24',
   50     'Jinja2>=2.10.1',
   51     'MarkupSafe>=1.0',
   52     'packaging>=16.8',
   53     'pyasn1>=0.2.3',
   54     'pycparser>=2.17',
   55     'requests>=2.21.0',
   56     'six>=1.10.0',
   57     'urllib3>=1.25.2',
   58     'Werkzeug>=0.11.15',
   59 ]
   60 
   61 setup(
   62     name='buku',
   63     version=version,
   64     description='Bookmark manager like a text-based mini-web.',
   65     long_description=long_description,
   66     long_description_content_type="text/markdown",
   67     author='Arun Prakash Jana',
   68     author_email='engineerarun@gmail.com',
   69     url='https://github.com/jarun/buku',
   70     license='GPLv3',
   71     python_requires='>=3.5',  # requires pip>=9.0.0
   72     platforms=['any'],
   73     py_modules=['buku'],
   74     install_requires=[
   75         'beautifulsoup4>=4.4.1',
   76         'certifi',
   77         'cryptography>=1.2.3',
   78         'urllib3>=1.23',
   79         'html5lib>=1.0.1',
   80     ],
   81     packages=find_packages(exclude=['tests']),
   82     include_package_data=True,
   83     entry_points={
   84         'console_scripts': ['buku=buku:main', 'bukuserver=bukuserver.server:cli']
   85     },
   86     extras_require={
   87         'tests': tests_require + server_require,
   88         'server': server_require,
   89         'packaging': ['twine>=1.11.0']
   90     },
   91     test_suite='tests',
   92     tests_require=tests_require,
   93     keywords='cli bookmarks tag utility',
   94     classifiers=[
   95         'Development Status :: 5 - Production/Stable',
   96         'Environment :: Console',
   97         'Intended Audience :: Developers',
   98         'Intended Audience :: End Users/Desktop',
   99         'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
  100         'Natural Language :: English',
  101         'Operating System :: OS Independent',
  102         'Programming Language :: Python :: 3',
  103         'Programming Language :: Python :: 3 :: Only',
  104         'Programming Language :: Python :: 3.5',
  105         'Programming Language :: Python :: 3.6',
  106         'Programming Language :: Python :: 3.7',
  107         'Programming Language :: Python :: 3.8',
  108         'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
  109         'Topic :: Utilities'
  110     ]
  111 )