-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo-sync-2024-03-20T18:39:14+0800 (#15)
- Loading branch information
1 parent
bcbc60a
commit 765bbc2
Showing
7 changed files
with
22 additions
and
14 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
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
OPENSOURCE-CLEAN REMOVE 2 | ||
target | ||
java-protos | ||
.idea | ||
build | ||
dist | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/usr/bin/env python3 | ||
# *_* coding: utf-8 *_* | ||
# *_* coding: utf-8 *_* |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-r requirements.txt | ||
grpcio-tools | ||
mypy-protobuf | ||
twine |
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 |
---|---|---|
@@ -1 +1 @@ | ||
protobuf>=4, <5 | ||
protobuf>=4, <5 |
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 |
---|---|---|
@@ -1,15 +1,23 @@ | ||
import setuptools | ||
import os | ||
from pathlib import Path | ||
from datetime import date | ||
|
||
__version__ = "0.2.1.dev$$DATE$$" | ||
|
||
|
||
def get_version(): | ||
date_str = date.today().strftime("%Y%m%d") | ||
return __version__.replace("$$DATE$$", date_str) | ||
|
||
|
||
def read(fname): | ||
with open(os.path.join(os.path.dirname(__file__), fname)) as f: | ||
with open(Path(__file__).resolve().parent / Path(fname)) as f: | ||
return f.read() | ||
|
||
|
||
setuptools.setup( | ||
name="sdc-apis", | ||
version="0.2.1.dev240320", | ||
version=get_version(), | ||
author="secretflow", | ||
author_email="[email protected]", | ||
description="SecretFlow Data Capsule apis proto generated python", | ||
|