-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sapp to pyre open source release (2/n)
Reviewed By: dkgi Differential Revision: D19168340 fbshipit-source-id: fee2f07806c75acb3c269b80b573e3bf9184091a
- Loading branch information
1 parent
43392a5
commit c7d4362
Showing
2 changed files
with
20 additions
and
0 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,4 +1,5 @@ | ||
import glob | ||
import json | ||
import os | ||
import sys | ||
from typing import List, Tuple | ||
|
@@ -54,6 +55,10 @@ def find_taint_stubs(): | |
with open("README.md") as f: | ||
long_description = f.read() | ||
|
||
with open( | ||
os.path.join("pyre_check", "tools", "sapp", "requirements.json") | ||
) as json_file: | ||
extra_requirements = json.load(json_file) | ||
|
||
PYRE_EMAIL = "[email protected]" | ||
AUTHOR = "Facebook" | ||
|
@@ -89,10 +94,12 @@ def find_taint_stubs(): | |
data_files=[("bin", ["bin/pyre.bin"])] + find_typeshed_files() + find_taint_stubs(), | ||
python_requires=">=3.5", | ||
install_requires=["pywatchman", "psutil", "libcst", "pyre_extensions"], | ||
extras_require=extra_requirements, | ||
entry_points={ | ||
"console_scripts": [ | ||
"pyre = pyre_check.client.pyre:main", | ||
"pyre-upgrade = pyre_check.tools.upgrade.upgrade:main", | ||
"sapp = pyre_check.tools.sapp.sapp.cli:cli [sapp]", | ||
] | ||
}, | ||
) |