-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (39 loc) · 1.25 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 Sosuke Kato <[email protected]>
#
# License: MIT
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
DISTNAME = "cornel-movie-dialogs-corpus-storm"
DESCRIPTION = "A set of python modules for cornel movie-dialogs corpus with storm"
with open("README.rst") as f:
LONG_DESCRIPTION = f.read()
AUTHOR = "Sosuke Kato"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/sosuke-k/cornel-movie-dialogs-corpus-storm"
LICENSE = "MIT"
PACKAGES = ["mdcorpus"]
PACKAGE_DIR = {"mdcorpus": "mdcorpus"}
SCRIPTS = ["scripts/generate-mdcorpus-database.py"]
import mdcorpus
VERSION = mdcorpus.__version__
def setup_package():
metadata = dict(name=DISTNAME,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
url=URL,
version=VERSION,
long_description=LONG_DESCRIPTION,
packages=PACKAGES,
package_dir=PACKAGE_DIR,
scripts=SCRIPTS,
)
setup(**metadata)
if __name__ == "__main__":
setup_package()