-
Notifications
You must be signed in to change notification settings - Fork 111
/
setup.py
48 lines (42 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import os
# get __version__ from _version.py
ver_file = os.path.join('pykg2vec', '_version.py')
with open(ver_file) as f:
exec(f.read())
DISTNAME = 'pykg2vec'
INSTALL_REQUIRES = [i.strip() for i in open("requirements.txt").readlines()]
with open("README.md", "r") as fh:
long_description = fh.read()
VERSION = __version__
setuptools.setup(
name='pykg2vec',
version=VERSION,
author="Sujit Rokka Chhetri, Shih-Yuan Yu, Ahmet Salih Aksakal, Palash Goyal, Martinez Canedo, Arquimedes, Mohammad Abdullah Al Faruque",
author_email="sujitchhetri@gmail.com",
description="A Python library for Knowledge Graph Embedding",
# ext_modules=[setuptools.Extension('file_handler', ['./pykg2vec/csource/file_handler.c'])],
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Sujit-O/pykg2vec.git",
packages=setuptools.find_packages(exclude=['dataset', 'py-env', 'build', 'dist', 'pykg2vec.egg-info']),
package_dir={DISTNAME: 'pykg2vec'},
package_data={'pykg2vec': ['hyperparams/*.yaml','searchspaces/*.yaml']},
setup_requires=['sphinx>=2.1.2'],
install_requires=INSTALL_REQUIRES,
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
"pykg2vec-train=scripts.pykg2vec_train:main",
"pykg2vec-infer=scripts.pykg2vec_infer:main",
"pykg2vec-tune=scripts.pykg2vec_tune:main",
"pykg2vec-test=scripts.pykg2vec_test:main",
]
}
)