forked from bmabey/pyLDAvis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (42 loc) · 1.52 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
import os
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
print('Being built on ReadTheDocs so we are avoiding pulling in scikit-bio since it imports numpy...')
requirements = []
else:
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name='pyLDAvis',
version='3.3.1',
description='Interactive topic model visualization. Port of the R package.',
long_description=readme,
author='Ben Mabey',
author_email='[email protected]',
url='https://github.com/bmabey/pyLDAvis',
download_url = 'https://github.com/bmabey/pyLDAvis/tarball/3.3.1',
packages=['pyLDAvis'],
package_dir={'pyLDAvis': 'pyLDAvis'},
tests_require=['pytest'],
include_package_data=True,
install_requires=requirements,
license='MIT',
zip_safe=False,
keywords=['data science', 'visualization'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)