-
Notifications
You must be signed in to change notification settings - Fork 120
/
setup.py
42 lines (36 loc) · 1.38 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
#!/usr/bin/env python
from os import path
import re
#import glob
from distutils.core import setup
from sendto_silhouette import __author__, __version__
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
m = re.match(r'(.*)\s+<(.*)>', __author__)
setup(name='inkscape-silhouette',
version=__version__,
description='Inkscape extension for driving a silhouette cameo',
author=m.groups()[0],
author_email=m.groups()[1],
url='https://github.com/jnweiger/inkscape-silhouette',
scripts=['sendto_silhouette.py'],
#scripts=filter(path.isfile,
# ['sendto_silhouette.py',
# 'sendto_silhouette.inx',
# 'README.md'] +
# glob.glob('silhouette-*') +
# glob.glob('misc/*') +
# glob.glob('misc/*/*')),
packages=['silhouette'],
license='GPL-2.0',
classifiers=[
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Environment :: Console',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
],
long_description=long_description,
long_description_content_type='text/markdown',
)