-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (43 loc) · 1.19 KB
/
setup.py
File metadata and controls
51 lines (43 loc) · 1.19 KB
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
#!/usr/bin/env python
import os
import sys
from codecs import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'enertalk_rule'
]
requires = []
test_requires = []
with open('README.md', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='enertalk_rule_python',
version='0.1.0',
description='EnerTalk\'s public interface library for EnerTalk Rule.',
long_description=readme,
author='Encored developers',
author_email='edev@encoredtech.com',
url='http://www.encoredtech.com',
packages=packages,
package_dir={'enertalk_rule': 'lib'},
setup_requires=requires,
include_package_data=True,
install_requires=requires,
tests_require=test_requires,
license='Apache License 2.0',
zip_safe=False,
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7'
),
)