mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Rename setup.py to setup_caffe2.py (#2483)
* Rename setup.py to setup_caffe2.py * Also move VERSION_NUMBER under caffe2/ directory. * Our setup*.py file needs to be at the root level. * Add requirements.txt
This commit is contained in:
committed by
GitHub
parent
3aca8f3b40
commit
eca84e2532
1
.gitignore
vendored
1
.gitignore
vendored
@ -78,6 +78,7 @@ cmake_build
|
||||
gen
|
||||
.setuptools-cmake-build
|
||||
.pytest_cache
|
||||
dist
|
||||
|
||||
# Bram
|
||||
plsdontbreak
|
||||
|
1
caffe2/requirements.txt
Normal file
1
caffe2/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
numpy
|
@ -65,7 +65,7 @@ try:
|
||||
except (OSError, subprocess.CalledProcessError):
|
||||
git_version = None
|
||||
|
||||
with open(os.path.join(TOP_DIR, 'VERSION_NUMBER')) as version_file:
|
||||
with open(os.path.join(SRC_DIR, 'VERSION_NUMBER')) as version_file:
|
||||
VersionInfo = namedtuple('VersionInfo', ['version', 'git_version'])(
|
||||
version=version_file.read().strip(),
|
||||
git_version=git_version
|
Reference in New Issue
Block a user