-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (35 loc) · 1.19 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
# let's do our part to encourage the use of distribute
import os
LONG_DESCRIPTION = ''
readme_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'README.rst'))
try:
readme_file = open(readme_path, 'r')
try:
LONG_DESCRIPTION = readme_file.read()
finally:
readme_file.close()
except: # couldn't find readme?
pass
# To install, do the following...
# python setup.py install
from distutils.core import setup
from setuptools import find_packages
setup(
name = "bugger",
version = "0.2",
packages = find_packages(),
package_data = {
'': ['*.txt',],
},
author = "Paul Osborne",
author_email = "[email protected]",
description = "Easily embed accessible python interactive console into your application",
license = "MIT",
keywords = "bugger interactive InteractiveConsole interpreter console code InteractiveInterpreter",
url = "http://github.com/posborne/bugger",
long_description = LONG_DESCRIPTION,
)
# Note to self...
# ... first, build the documentation for this release and run tests
# python setup.py release sdist bdist_egg register upload
# python setup.py upload_docs --upload-dir=docs/_build/html