-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (41 loc) · 1.16 KB
/
setup.py
File metadata and controls
44 lines (41 loc) · 1.16 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
import os
from distutils.core import setup
version = '1.0.0'
try:
revision = os.environ['REVISION']
except Exception:
pass
else:
version = revision
try:
version = os.environ['INTERNAL_VERSION']
except:
pass
packages = []
for root, dirs, files in os.walk('mesh'):
if '__init__.py' in files:
packages.append(root.replace('/', '.'))
setup(
name='mesh',
version=version,
description='A declarative RESTful API framework.',
author='Jordan McCoy',
license='BSD',
url='http://github.com/siq/mesh',
packages=packages,
package_data={
'mesh.binding': ['templates/*'],
'mesh.documentation': ['templates/*'],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)