Skip to content

Commit

Permalink
move stuff into folders different
Browse files Browse the repository at this point in the history
  • Loading branch information
TojikCZ committed Oct 30, 2019
1 parent de0df3b commit 90666aa
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 16 deletions.
5 changes: 1 addition & 4 deletions ghia/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
from ghia_web import create_app
import ghia_cmd as ghia

__all__ = ['ghia']
from ghia.ghia_web import create_app
2 changes: 1 addition & 1 deletion ghia/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
from ghia_cmd import ghia_cmd
from ghia.ghia_cmd import ghia_cmd

sys.argv[0] = "ghia"

Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions ghia_cmd/ghia_cmd.py → ghia/ghia_cmd.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/python
import configparser

import click
import re

from github_communicator import RequestException, GithubCommunicator
import click
from ghia.github_communicator import RequestException, GithubCommunicator


class GHIASolver:
Expand Down
2 changes: 1 addition & 1 deletion ghia_web/ghia_web.py → ghia/ghia_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import hashlib
import hmac

from ghia_cmd import GHIASolver
from ghia.ghia_cmd import GHIASolver

REACT_TO = {"opened", "edited", "transferred", "reopened", "assigned", "unassigned", "labeled", "unlabeled"}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion ghia_cmd/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion ghia_web/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion github_communicator/__init__.py

This file was deleted.

8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='ghia_joziftom',
version='0.3.1',
version='0.3.2',
description='Assigns people to issues based on config files',
long_description=long_description,
long_description_content_type="text/plain",
Expand All @@ -15,8 +15,8 @@
license='GNU GPLv3',
url='https://github.com/TojikCZ/ghia1',
packages=setuptools.find_packages(),
package_dir={'ghia_web': 'ghia_web'},
package_data={'ghia_web': ['templates/*.html', 'static/*.*', 'flask_config.json']},
package_dir={'ghia': 'ghia'},
package_data={'ghia': ['templates/*.html', 'static/*.*', 'flask_config.json']},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
Expand All @@ -32,7 +32,7 @@
],
entry_points={
'console_scripts': [
'ghia = ghia_cmd.ghia_cmd:ghia_cmd',
'ghia = ghia.ghia_cmd:ghia_cmd',
],
},
install_requires=['Flask', 'click', 'requests'],
Expand Down

0 comments on commit 90666aa

Please sign in to comment.