-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsetup.py
46 lines (40 loc) · 1.54 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
# Copyright (c) 2008-2011 by Enthought, Inc.
# All rights reserved.
import os
from setuptools import setup, find_packages
with open('README.rst') as fid:
long_description = fid.read()
version_path = os.path.abspath('version.txt')
try:
with open(version_path) as fid:
version_str = fid.read().strip()
except IOError as err:
raise IOError("File indicating the version could not be read: {}".format(version_path))
setup(
name='meta',
version=version_str,
author='Sean Ross-Ross, Enthought Inc.',
author_email='srossross@enthought.com',
maintainer='Sean Ross-Ross',
maintainer_email='enthought-dev@enthought.com',
url='http://srossross.github.com/Meta',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries"],
description='Byte-code and ast programming tools',
long_description=long_description,
include_package_data=True,
license='BSD',
packages=find_packages(),
platforms=["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
entry_points={'console_scripts': ['depyc = meta.scripts.depyc:main']})