|
1 |
| -from os import path |
2 |
| - |
3 |
| -from setuptools import find_packages, setup |
4 |
| - |
5 |
| -with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), 'r') as rf: |
6 |
| - LONG_DESCRIPTION = rf.read() |
7 |
| - |
8 |
| -setup( |
9 |
| - # PEP8: Packages should also have short, all-lowercase names, the use of underscores is discouraged |
10 |
| - name='pylintfileheader', |
11 |
| - version='0.0.1', |
12 |
| - packages=find_packages(exclude=['*test']), |
13 |
| - description='Enables pylint to force a consistent file header.', |
14 |
| - long_description=LONG_DESCRIPTION, |
15 |
| - long_description_content_type='text/markdown', |
16 |
| - url='https://github.com/HaaLeo/pylint-file-header', |
17 |
| - author='Leo Hanisch', |
18 |
| - license='MIT', |
19 |
| - package_data={'pylintfileheader': ['ThirdPartyNotices.txt']}, |
20 |
| - install_requires=[], |
21 |
| - project_urls={ |
22 |
| - 'Issue Tracker': 'https://github.com/HaaLeo/pylint-file-header/issues', |
23 |
| - 'Changelog': 'https://github.com/HaaLeo/pylint-file-header/blob/master/CHANGELOG.md' |
24 |
| - }, |
25 |
| - python_requires='>=2.7', |
26 |
| - keywords=[ |
27 |
| - 'pylintfileheader', |
28 |
| - 'pylint', |
29 |
| - 'file', |
30 |
| - 'module', |
31 |
| - 'header' |
32 |
| - ], |
33 |
| - classifiers=[ |
34 |
| - 'Development Status :: 5 - Production/Stable', |
35 |
| - 'Intended Audience :: Developers', |
36 |
| - 'License :: OSI Approved :: MIT License', |
37 |
| - 'Operating System :: OS Independent', |
38 |
| - 'Programming Language :: Python :: 2.7', |
39 |
| - 'Programming Language :: Python :: 3.5', |
40 |
| - 'Programming Language :: Python :: 3.6', |
41 |
| - 'Programming Language :: Python :: 3.7' |
42 |
| - ] |
43 |
| -) |
| 1 | +# --------------------------------------------------------------------------------------------- |
| 2 | +# Copyright (c) Leo Hanisch. All rights reserved. |
| 3 | +# Licensed under the MIT License. See LICENSE.txt in the project root for license information. |
| 4 | +# --------------------------------------------------------------------------------------------- |
| 5 | + |
| 6 | +from os import path |
| 7 | + |
| 8 | +from setuptools import find_packages, setup |
| 9 | + |
| 10 | +with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), 'r') as rf: |
| 11 | + LONG_DESCRIPTION = rf.read() |
| 12 | + |
| 13 | +setup( |
| 14 | + # PEP8: Packages should also have short, all-lowercase names, the use of underscores is discouraged |
| 15 | + name='pylintfileheader', |
| 16 | + version='0.0.2', |
| 17 | + packages=find_packages(exclude=['*test']), |
| 18 | + description='Enables pylint to force a consistent file header.', |
| 19 | + long_description=LONG_DESCRIPTION, |
| 20 | + long_description_content_type='text/markdown', |
| 21 | + url='https://github.com/HaaLeo/pylint-file-header', |
| 22 | + author='Leo Hanisch', |
| 23 | + license='MIT', |
| 24 | + package_data={'pylintfileheader': ['ThirdPartyNotices.txt']}, |
| 25 | + install_requires=[], |
| 26 | + project_urls={ |
| 27 | + 'Issue Tracker': 'https://github.com/HaaLeo/pylint-file-header/issues', |
| 28 | + 'Changelog': 'https://github.com/HaaLeo/pylint-file-header/blob/master/CHANGELOG.md' |
| 29 | + }, |
| 30 | + python_requires='>=2.7', |
| 31 | + keywords=[ |
| 32 | + 'pylintfileheader', |
| 33 | + 'pylint', |
| 34 | + 'file', |
| 35 | + 'module', |
| 36 | + 'header' |
| 37 | + ], |
| 38 | + classifiers=[ |
| 39 | + 'Development Status :: 5 - Production/Stable', |
| 40 | + 'Intended Audience :: Developers', |
| 41 | + 'License :: OSI Approved :: MIT License', |
| 42 | + 'Operating System :: OS Independent', |
| 43 | + 'Programming Language :: Python :: 2.7', |
| 44 | + 'Programming Language :: Python :: 3.5', |
| 45 | + 'Programming Language :: Python :: 3.6', |
| 46 | + 'Programming Language :: Python :: 3.7' |
| 47 | + ] |
| 48 | +) |
0 commit comments