-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
35 lines (27 loc) · 964 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
34
35
#!/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("sudo python -m spacy download en")
setup(name='tenseflow',
version='0.2',
description='Change the tense of text',
long_description=long_description,
long_description_content_type="text/markdown",
author='Ben Dichter',
author_email='[email protected]',
url='https://github.com/bendichter/tenseflow',
packages=find_packages(exclude='test'),
install_requires=['spacy', 'pattern'],
cmdclass={'install': CustomInstall},
extras_require={
'test': ['pytest'],
'app': ['flask', 'sqlalchemy']
},
)