-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
40 lines (33 loc) · 1.22 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
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import setuptools
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import call
with open('dckit/README.md', 'r') as f:
long_description = f.read()
class Installation(install):
def run(self):
call(['pip install -r requirements.txt --no-clean'], shell=True)
install.run(self)
setuptools.setup(
name='dckit',
version='0.0.1',
author='JC Liu',
author_email='[email protected]',
maintainer='DataCLUE',
maintainer_email='[email protected]',
description='Python toolkit for Data-centric Chinese Language Understanding Evaluation benchmark.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/CLUEBenchmark/DataCLUE',
include_package_data=True,
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent'],
install_requires=[],
cmdclass={'install': Installation})