Improves discovery of modules
This commit is contained in:
parent
ae1eff6e4b
commit
34e31e67e1
2 changed files with 6 additions and 5 deletions
5
setup.py
5
setup.py
|
@ -1,4 +1,4 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_namespace_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='abgabesystem',
|
name='abgabesystem',
|
||||||
|
@ -9,7 +9,8 @@ setup(
|
||||||
url='https://ips1.ibr.cs.tu-bs.de/abgabesystem/abgabesystem',
|
url='https://ips1.ibr.cs.tu-bs.de/abgabesystem/abgabesystem',
|
||||||
author='Tim Schubert',
|
author='Tim Schubert',
|
||||||
author_email='abgabesystem@timschubert.net',
|
author_email='abgabesystem@timschubert.net',
|
||||||
packages=find_packages(),
|
package_dir={'': 'src'},
|
||||||
|
packages=find_namespace_packages(where='src'),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'python-gitlab',
|
'python-gitlab',
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import gitlab
|
import gitlab
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging as log
|
||||||
|
|
||||||
from abgabesystem.commands import create_users, projects, deadline, plagiates, course
|
from abgabesystem.commands import create_users, projects, deadline, plagiates, course
|
||||||
|
|
||||||
|
@ -39,14 +39,14 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
deadline_parser = subparsers.add_parser(
|
deadline_parser = subparsers.add_parser(
|
||||||
'deadline',
|
'deadline',
|
||||||
description='Sets the tags at a deadline to permanently mark it in the version history')
|
help='Sets the tags at a deadline to permanently mark it in the version history')
|
||||||
deadline_parser.set_defaults(func=deadline)
|
deadline_parser.set_defaults(func=deadline)
|
||||||
deadline_parser.add_argument('-t', '--tag-name', dest='tag_name')
|
deadline_parser.add_argument('-t', '--tag-name', dest='tag_name')
|
||||||
deadline_parser.add_argument('-r', '--reference', dest='reference')
|
deadline_parser.add_argument('-r', '--reference', dest='reference')
|
||||||
|
|
||||||
plagiates_parser = subparsers.add_parser(
|
plagiates_parser = subparsers.add_parser(
|
||||||
'plagiates',
|
'plagiates',
|
||||||
description='Runs the plagiarism checker on all solutions using a reference project as the baseline')
|
help='Runs the plagiarism checker on all solutions using a reference project as the baseline')
|
||||||
plagiates_parser.set_defaults(func=plagiates)
|
plagiates_parser.set_defaults(func=plagiates)
|
||||||
plagiates_parser.add_argument('-t', '--tag-name', dest='tag_name')
|
plagiates_parser.add_argument('-t', '--tag-name', dest='tag_name')
|
||||||
plagiates_parser.add_argument('-r', '--reference', dest='reference')
|
plagiates_parser.add_argument('-r', '--reference', dest='reference')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue