-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
47 lines (44 loc) · 1.3 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from os import path as os_path
# Package meta-data.
NAME = 'pyembed'
DESCRIPTION = 'Embed your own words (with word2vec).'
URL = 'https://github.com/acapitanelli/word-embedding'
AUTHOR = 'Andrea Capitanelli'
EMAIL = '[email protected]'
VERSION = '1.1.0'
# short/long description
here = os_path.abspath(os_path.dirname(__file__))
try:
with open(os_path.join(here,'README.md'),'r',encoding='utf-8') as f:
long_desc = '\n' + f.read()
except FileNotFoundError:
long_desc = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
maintainer=AUTHOR,
maintainer_email=EMAIL,
url=URL,
python_requires='>=3.6.0',
packages=find_packages(),
long_description=long_desc,
long_description_content_type='text/markdown',
keywords='word embedding neural nets',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
scripts=[
os_path.join(here,'bin/pyembed')
]
)