This repository has been archived by the owner on May 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
53 lines (48 loc) · 1.9 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
52
53
#!/usr/bin/env python3
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS-IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import setuptools
import codecs
import os
import m2r
parent_path = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(parent_path, 'README.md'), encoding='utf-8') as f:
long_description = m2r.convert(f.read())
setuptools.setup(
name='TMPPy',
version='0.1.3',
description='A subset of Python that can be compiled to C++ meta-functions using the py2tmp _compiler',
long_description=long_description,
url='https://github.com/google/tmppy',
author='Marco Poletti',
author_email='[email protected]',
license='Apache 2.0',
keywords='C++ metaprogramming _compiler templates',
python_requires='>=3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
# TODO: check which 3.x Python versions work and update this.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=setuptools.find_packages(exclude=['*.tests', 'extras']),
data_files=[('include/tmppy', ['include/tmppy/tmppy.h'])],
entry_points={
'console_scripts': ['py2tmp=py2tmp:main'],
},
)