-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
63 lines (56 loc) · 2.27 KB
/
setup.py
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python3
'''
Copyright (C) 2020 Ayush Bhardwaj ([email protected]),
Kaushlendra Pratap ([email protected])
SPDX-License-Identifier: LGPL-2.1
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''
from os import path
from io import open
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# fetch the long description from the README.md
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
CLASSIFIERS = """\
Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Programming Language :: Python :: 3 :: Only
Intended Audience :: Developers
Intended Audience :: Legal Industry
Topic :: Utilities
Topic :: Software Development
Topic :: Text Processing
"""
setup(
name='Nirjas',
version='1.0.1',
description='A Python library to extract comments and source code out of your file(s)',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/fossology/nirjas',
author='Ayush Bhardwaj, Kaushlendra Pratap',
author_email='[email protected], [email protected]',
classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
keywords='Nirjas,Code Comment, Comment Extractor, Code Comment Extractor,' +
' Source Code Extractor, Source Extractor',
packages=find_packages(),
python_requires=">=3",
entry_points={
'console_scripts': [
'nirjas = nirjas.main:run_and_print'
]
},
license="LGPL-2.1-or-later",
platforms=['any']
)