-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (41 loc) · 1.45 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
48
49
50
51
from __future__ import absolute_import
import setuptools
from setuptools import setup
import os
import sys
_here = os.path.abspath(os.path.dirname(__file__))
from setuptools.command.install import install
from subprocess import check_call
# class PostInstallCommand(install):
# """Post-installation for installation mode."""
# def run(self):
# install.run(self)
# check_call('lltk configure'.split())
with open("README.md", "r", encoding='utf-8', errors='ignore') as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding='utf-8', errors='ignore') as fh:
requirements = [x.strip() for x in fh.read().split('\n') if x.strip()]
setup(
name='lltk-dh',
version='0.6.9',
description=('Literary Language Toolkit (LLTK): corpora, models, and tools for the digital humanities'),
long_description=long_description,
long_description_content_type="text/markdown",
author='Ryan Heuser',
author_email='[email protected]',
url='https://github.com/quadrismegistus/lltk',
license='MIT',
packages=setuptools.find_packages(),
install_requires=requirements,
scripts=['bin/lltk'],
include_package_data=True,
classifiers=[
#'Development Status :: 3 - Alpha',
#'Intended Audience :: Science/Research',
#'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3.6'
],
# cmdclass={
# 'install': PostInstallCommand,
# },
)