"Fossies" - the Fresh Open Source Software Archive

Member "codespell-1.17.1/setup.py" (22 May 2020, 1866 Bytes) of package /linux/misc/codespell-1.17.1.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: 1.16.0_vs_1.17.1.

    1 #! /usr/bin/env python
    2 
    3 # adapted from mne-python
    4 
    5 import os
    6 from os import path as op
    7 
    8 from setuptools import setup
    9 
   10 from codespell_lib import __version__
   11 
   12 DISTNAME = 'codespell'
   13 DESCRIPTION = """Codespell"""
   14 MAINTAINER = 'Lucas De Marchi'
   15 MAINTAINER_EMAIL = 'lucas.de.marchi@gmail.com'
   16 URL = 'https://github.com/codespell-project/codespell/'
   17 LICENSE = 'GPL v2'
   18 DOWNLOAD_URL = 'https://github.com/codespell-project/codespell/'
   19 with open('README.rst', 'r') as f:
   20     LONG_DESCRIPTION = f.read()
   21 
   22 if __name__ == "__main__":
   23     if os.path.exists('MANIFEST'):
   24         os.remove('MANIFEST')
   25 
   26     setup(name=DISTNAME,
   27           maintainer=MAINTAINER,
   28           include_package_data=True,
   29           maintainer_email=MAINTAINER_EMAIL,
   30           description=DESCRIPTION,
   31           license=LICENSE,
   32           url=URL,
   33           version=__version__,
   34           download_url=DOWNLOAD_URL,
   35           long_description=LONG_DESCRIPTION,
   36           zip_safe=False,
   37           classifiers=['Intended Audience :: Developers',
   38                        'License :: OSI Approved',
   39                        'Programming Language :: Python',
   40                        'Topic :: Software Development',
   41                        'Operating System :: Microsoft :: Windows',
   42                        'Operating System :: POSIX',
   43                        'Operating System :: Unix',
   44                        'Operating System :: MacOS'],
   45           platforms='any',
   46           packages=[
   47               'codespell_lib', 'codespell_lib.tests',
   48               'codespell_lib.data',
   49           ],
   50           package_data={'codespell_lib': [
   51               op.join('data', 'dictionary*.txt'),
   52               op.join('data', 'linux-kernel.exclude'),
   53           ]},
   54           entry_points={
   55               'console_scripts': [
   56                   'codespell = codespell_lib:_script_main'
   57               ],
   58           }
   59           )