-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
33 lines (27 loc) · 894 Bytes
/
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
import os
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
def read_file(*file_name: str) -> str:
"""
This function is used to read a given file and return its contents
:param file_name the file to be read
:return: the string containing the file contents
"""
with open(os.path.join(HERE, *file_name)) as f:
return f.read()
setup(
name='entity_embeddings_categorical',
version='0.6.7',
license='BSD-3-Clause',
url='https://github.com/bresan/entity_embeddings_categorical',
description='',
long_description=read_file('README.md'),
long_description_content_type="text/markdown",
author='Rodrigo Bresan',
author_email='',
classifiers=[
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
install_requires=read_file('requirements.txt')
)