forked from facebookresearch/PyTorch-BigGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use setup.cfg over setup.py (facebookresearch#45)
Summary: Using a function call to store information is quite silly. Let's use a proper config file instead. This also forces us to make the information more structured and makes it easier to access for other tools. Pull Request resolved: facebookresearch#45 Differential Revision: D15298295 Pulled By: lerks fbshipit-source-id: c5f25c293096934a186a40167e47d214afbfb934
- Loading branch information
1 parent
42e4963
commit 09a680a
Showing
6 changed files
with
85 additions
and
158 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 +1,74 @@ | ||
# Include license in the wheel distribution. | ||
[metadata] | ||
name = torchbiggraph | ||
version = file: torchbiggraph/VERSION.txt | ||
url = https://github.com/facebookresearch/PyTorch-BigGraph | ||
project_urls = | ||
Source = https://github.com/facebookresearch/PyTorch-BigGraph | ||
Bug Reports = https://github.com/facebookresearch/PyTorch-BigGraph/issues | ||
Documentation = https://torchbiggraph.readthedocs.io/ | ||
author = Facebook AI Research | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: BSD License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3 :: Only | ||
Topic :: Scientific/Engineering :: Artificial Intelligence | ||
# Already provided as a classifier. | ||
# license = BSD License | ||
license_files = | ||
LICENSE.txt | ||
torchbiggraph/examples/LICENSE.txt | ||
description = A distributed system to learn embeddings of large graphs | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
keywords = | ||
machine-learning | ||
knowledge-base | ||
graph-embedding | ||
link-prediction | ||
|
||
[options] | ||
setup_requires = | ||
setuptools >= 39.2 | ||
install_requires = | ||
attrs >= 18.2 | ||
h5py >= 2.8 | ||
numpy | ||
setuptools | ||
torch >= 1 | ||
tqdm | ||
python_requires = >=3.6, <4 | ||
packages = find: | ||
|
||
[options.extras_require] | ||
docs = | ||
Sphinx | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
torchbiggraph_config = torchbiggraph.config:main | ||
torchbiggraph_eval = torchbiggraph.eval:main | ||
torchbiggraph_example_fb15k = torchbiggraph.examples.fb15k:main | ||
torchbiggraph_example_livejournal = torchbiggraph.examples.livejournal:main | ||
torchbiggraph_export_to_tsv = torchbiggraph.converters.export_to_tsv:main | ||
torchbiggraph_import_from_tsv = torchbiggraph.converters.import_from_tsv:main | ||
torchbiggraph_partitionserver = torchbiggraph.partitionserver:main | ||
torchbiggraph_train = torchbiggraph.train:main | ||
|
||
[options.packages.find] | ||
exclude = | ||
docs | ||
test | ||
|
||
[options.package_data] | ||
torchbiggraph = | ||
VERSION.txt | ||
torchbiggraph.examples = | ||
configs/*.py |
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