|
Revision 1809, 1.0 kB
(checked in by arj..@yirdis.nl, 1 year ago)
|
--
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
""" |
|---|
| 2 |
Setup script for the very basic hello world plugin. |
|---|
| 3 |
|
|---|
| 4 |
Every app should have one! |
|---|
| 5 |
|
|---|
| 6 |
from the command line run: 'python setup.py develop' and start Gaphor. |
|---|
| 7 |
|
|---|
| 8 |
A 'Hello world' button should appear in the Help menu. When pressed, a |
|---|
| 9 |
dialog will be displayed. |
|---|
| 10 |
|
|---|
| 11 |
Very neat, very... Hello world! |
|---|
| 12 |
""" |
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
from setuptools import setup, find_packages |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
setup( |
|---|
| 19 |
name = "gaphor.plugins.helloworld", |
|---|
| 20 |
version = "0.1", |
|---|
| 21 |
packages = find_packages(), |
|---|
| 22 |
|
|---|
| 23 |
install_requires = ['gaphor>=0.11.0'], |
|---|
| 24 |
|
|---|
| 25 |
namespace_packages = ['gaphor.plugins'], |
|---|
| 26 |
|
|---|
| 27 |
package_data = { |
|---|
| 28 |
|
|---|
| 29 |
'': ['*.txt', '*.rst'], |
|---|
| 30 |
}, |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
author = "Arjan Molenaar", |
|---|
| 34 |
author_email = "gaphor@gmail.com", |
|---|
| 35 |
description = "Example (Hello World) service/plugin for Gaphor", |
|---|
| 36 |
license = "GPL", |
|---|
| 37 |
keywords = "gaphor hello world example examples", |
|---|
| 38 |
|
|---|
| 39 |
entry_points = { |
|---|
| 40 |
'gaphor.services': [ |
|---|
| 41 |
'helloworld = gaphor.plugins.helloworld:HelloWorldPlugin', |
|---|
| 42 |
] |
|---|
| 43 |
} |
|---|
| 44 |
) |
|---|
| 45 |
|
|---|
| 46 |
|
|---|