Skip to content

Commit

Permalink
Merge pull request #10 from fossology/HastagAB/Developement
Browse files Browse the repository at this point in the history
fix(Nirjas): fix directory name and import statements
  • Loading branch information
Kaushl2208 authored Jul 29, 2020
2 parents 1c3d5aa + df566f1 commit 6b44d10
Show file tree
Hide file tree
Showing 48 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion extractor/__init__.py → nirjas/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from extractor.main import *
from nirjas.main import *

def extract(file):
return file_runner(file)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion extractor/languages/c.py → nirjas/languages/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def cExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def c_sharpExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/cpp.py → nirjas/languages/cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def cppExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/css.py → nirjas/languages/css.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def cssExtractor(file):
output = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/go.py → nirjas/languages/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def goExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *


def haskellExtractor(file):
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/html.py → nirjas/languages/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def htmlExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/java.py → nirjas/languages/java.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def javaExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def javascriptExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def kotlinExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def matlabExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/perl.py → nirjas/languages/perl.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def perlExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/php.py → nirjas/languages/php.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def phpExtractor(file):
result = CommentSyntax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *


def pythonExtractor(file):
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/r.py → nirjas/languages/r.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def rExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/ruby.py → nirjas/languages/ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *


def rubyExtractor(file):
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/rust.py → nirjas/languages/rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def rustExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/scala.py → nirjas/languages/scala.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *


def scalaExtractor(file):
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/shell.py → nirjas/languages/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *

def shellExtractor(file):
result = CommentSyntax()
Expand Down
2 changes: 1 addition & 1 deletion extractor/languages/swift.py → nirjas/languages/swift.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
'''

from extractor.binder import *
from nirjas.binder import *


def swiftExtractor(file):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions extractor/main.py → nirjas/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import json
import argparse

from extractor.binder import *
from extractor.languages import *
from nirjas.binder import *
from nirjas.languages import *


class CommentExtractor:
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

setup(
name='Nirjas',
version='0.0.2',
version='0.0.3',
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',
Expand All @@ -47,12 +47,12 @@
author_email='classicayush@gmail.com, kaushlendrapratap.9837@gmail.com',

classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
keywords='Comment Extractor, Code Comment Extractor, Source Code Extractor, Source Extractor',
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 = extractor.main:main'
'nirjas = nirjas.main:main'
]
},
)

0 comments on commit 6b44d10

Please sign in to comment.