This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project layout for better module import(#45)
* Update project layout for better module import
- Loading branch information
1 parent
6f8590e
commit 80f370e
Showing
22 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
|
||
_version_re = re.compile(r"__version__\s+=\s+(.*)") | ||
|
||
with open("src/__init__.py", "rb") as f: | ||
with open("src/odfe_sql_cli/__init__.py", "rb") as f: | ||
version = str( | ||
ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)) | ||
) | ||
|
@@ -46,14 +46,15 @@ | |
author_email="[email protected]", | ||
version=version, | ||
license="Apache 2.0", | ||
url="https://opendistro.github.io/for-elasticsearch-docs/", | ||
packages=find_packages(), | ||
package_data={"src": ["conf/clirc", "esliterals/esliterals.json"]}, | ||
url="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/cli/", | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
package_data={"odfe_sql_cli": ["conf/clirc", "esliterals/esliterals.json"]}, | ||
description=description, | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
install_requires=install_requirements, | ||
entry_points={"console_scripts": ["odfesql=src.main:cli"]}, | ||
entry_points={"console_scripts": ["odfesql=odfe_sql_cli.main:cli"]}, | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters