-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 1.1 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
from setuptools import setup
import os.path
import setup_pyjstools
import setup_pyjswidgets
__VERSION__='0.8.2'
packages=setup_pyjstools.packages+setup_pyjswidgets.packages
package_data=dict(setup_pyjstools.package_data.items())
package_data.update(dict(setup_pyjswidgets.package_data.items()))
entry_points=dict(setup_pyjstools.entry_points.items())
entry_points.update(dict(setup_pyjswidgets.entry_points.items()))
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
# Source: https://pythonhosted.org/an_example_pypi_project/setuptools.html
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="pyjs",
version=__VERSION__,
packages=packages,
package_data=package_data,
zip_safe = False,
entry_points = entry_points,
install_requires=['six'],
license="Apache",
keywords=["js", "javascript"],
url = "http://pyjs.org",
long_description=read('README.rst'),
)