-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (37 loc) · 1.43 KB
/
setup.py
File metadata and controls
43 lines (37 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import setuptools
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'lintwork', '__version__.py'), 'r') as f:
exec(f.read(), about)
with open('README.md', 'r') as f:
readme = f.read()
with open('requirements.txt') as f:
requirements = [item for item in f.read().splitlines() if item]
setuptools.setup(
author=about['__author__'],
author_email=about['__author_email__'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
description=about['__description__'],
download_url='https://github.com/devops-lintflow/lintwork/archive/v%s.tar.gz' % about['__version__'],
entry_points={'console_scripts': ['lintwork=lintwork.main:main']},
include_package_data=True,
install_requires=requirements,
keywords=['lint', 'work'],
license=about['__license__'],
long_description=readme,
long_description_content_type='text/markdown',
name=about['__title__'],
packages=setuptools.find_packages(exclude=['examples', 'ez_setup', 'release', 'script', 'tests', 'tests.*']),
package_data={'lintwork': ['config/*.yml']},
url=about['__url__'],
version=about['__version__'],
zip_safe=False)