-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (29 loc) · 881 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='SamplePlugin',
version='1.0.1',
author='YOUR NAME',
author_email='[email protected]',
license='GPL v3 or later',
install_requires = [
'MediaDrop >= 0.11dev', # use whatever version you support
],
namespace_packages = ['mediadropext'],
# package_data is only for binary distributions ("bdist_egg") otherwise ("sdist")
# MANIFEST.in is used. One of the arcane things in setuptools:
# http://stackoverflow.com/a/14159430/138526
package_data={
'mediadropext.myplugin': [
'public/*',
'templates/*',
'migrations/*.mako',
],
},
packages=find_packages(),
entry_points = {
'mediadrop.plugin': [
'myplugin = mediadropext.myplugin.mediadrop_plugin',
],
}
)