-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
41 lines (37 loc) · 1.5 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, sys
import glob
from setuptools import setup, Extension, find_packages
from Cython.Build import cythonize
from Cython.Distutils import build_ext
assert sys.version_info[0] >= 3, "For python >= 3 only"
cwd = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(cwd, "README.rst")).read()
setup(
name="eleve",
version="20.10.8",
description="Extraction de LExique par Variation d'Entropie - Lexicon extraction based on the variation of entropy",
long_description=readme,
author="Pierre Magistry, Korantin Auguste, Emmanuel Navarro",
author_email="[email protected]",
url="https://github.com/kodexlab/eleve",
#packages=["eleve"],
packages=find_packages(),
scripts=["scripts/eleve-train", "scripts/eleve-chinese"],
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Cython",
"Topic :: Scientific/Engineering",
],
ext_modules=cythonize(["./eleve/cython_storage.pyx"],
compiler_directives={'language_level' : "3"},
annotate=True),
)