-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Database, MySQLDatabase, and PostgresDatabase to __init__.py #20
base: master
Are you sure you want to change the base?
Conversation
ddldump/__init__.py
Outdated
@@ -0,0 +1 @@ | |||
from .main import Database, MySQLDatabase, PostgresDatabase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If both MysqlDatabase and
PostgresDatabaseinherit from
Database` do you need to import the base class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the base class
1dfaeba
to
d1a2ab6
Compare
ce0dc1b
to
82fe900
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for the use of the requirements.txt. pip3 setup.py sdist bdist_wheel
should just work.
@@ -22,6 +22,9 @@ commands: | |||
pip: | |||
type: string | |||
steps: | |||
- run: | |||
name: Install dependencies | |||
command: << parameters.pip >> install -r requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, this should not be merged.
Both the packaging (https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives) and setuptools docs (https://setuptools.readthedocs.io/en/latest/setuptools.html) recommend updating setuptools
and wheels
first.
@@ -22,6 +22,9 @@ commands: | |||
pip: | |||
type: string | |||
steps: | |||
- run: | |||
name: Install dependencies | |||
command: << parameters.pip >> install -r requirements.txt | |||
- run: | |||
name: Package the repo into a wheel | |||
command: << parameters.python >> setup.py bdist_wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may need an sdist
command
No description provided.