-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (23 loc) · 955 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (23 loc) · 955 Bytes
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
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.install import install
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
class CustomInstall(install):
def run(self):
install.run(self)
os.system("python -m spacy download en_core_web_sm")
setup(name='TextVectorizer',
version='0.1.0',
description='Feature Engineering for Textual Data',
long_description=long_description,
long_description_content_type="text/markdown",
author='Shashi Tripathi, Rahul Kumar Yadav',
author_email='shashi.123.prakash@gmail.com,rahulkryadav93@gmail.com',
url='https://github.com/itsshavar/TextVectorizer',
packages=find_packages(exclude='test'),
install_requires=['spacy', 'spacy-transformers'],
cmdclass={'install': CustomInstall}
)