Advertisement
mwchase

LC:Nobilis Update 3 - setup.py

May 14th, 2017
676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.24 KB | None | 0 0
  1. """A setuptools based setup module."""
  2.  
  3. # Always prefer setuptools over distutils
  4. from setuptools import setup, find_packages
  5. # To use a consistent encoding
  6. from codecs import open as c_open
  7. from os import path
  8.  
  9. HERE = path.abspath(path.dirname(__file__))
  10.  
  11. # Get the long description from the README file
  12. with c_open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
  13.     LONG_DESCRIPTION = f.read()
  14.  
  15. setup(
  16.     name='divide_and_cover',
  17.  
  18.     version='0.1.0',
  19.  
  20.     description='Picky test coverage for pytest',
  21.     long_description=LONG_DESCRIPTION,
  22.  
  23.     # url='https://github.com/mwchase/class-namespaces',
  24.  
  25.     author='Max Woerner Chase',
  26.     author_email='max.chase@gmail.com',
  27.  
  28.     license='Apache 2.0',
  29.  
  30.     classifiers=[
  31.         'Development Status :: 3 - Alpha',
  32.  
  33.         'License :: OSI Approved :: Apache Software License',
  34.  
  35.         'Programming Language :: Python :: 3',
  36.         'Programming Language :: Python :: 3.6',
  37.  
  38.         "Framework :: Pytest",
  39.     ],
  40.  
  41.     keywords='coverage ',
  42.  
  43.     packages=find_packages('src', exclude=['contrib', 'docs', 'tests']),
  44.     package_dir={'': 'src'},
  45.  
  46.     install_requires=['coverage', 'pytest'],
  47.  
  48.     entry_points={
  49.         'pytest11': [
  50.             'divide_and_cover = divide_and_cover.pytest_plugin',
  51.         ]
  52.     },
  53. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement