-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
51 lines (44 loc) · 1.6 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
"""A setuptools based setup module for babel-vue-extractor
Based on:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
PROJECT_DIR = path.dirname(__file__)
def read(*parts):
filename = path.join(PROJECT_DIR, *parts)
with open(filename, encoding='utf-8') as fp:
return fp.read()
REQUIREMENTS_FILE = 'requirements.txt'
REQUIREMENTS = open(path.join(PROJECT_DIR, REQUIREMENTS_FILE)).readlines()
setup(
name='babel-vue-extractor',
version=read('VERSION'),
description='A plugin for babel to work with vue.js templates',
long_description=read('README.rst'),
url='https://github.com/nonamenix/babel-vue-extractor',
author='Danil Ivanov',
author_email='[email protected]',
license='Apache Software License',
classifiers=[
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='vuejs babel',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=REQUIREMENTS,
extras_require={
'dev': ['check-manifest', 'nose'],
'test': ['coverage'],
},
)