-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
74 lines (66 loc) · 1.93 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python
# coding=utf-8
#
# To publish package release
# python setup.py sdist upload -r pypi
#
from __future__ import absolute_import
from __future__ import print_function
import io
from os.path import dirname
from os.path import join
from setuptools import setup, find_packages
from glob import glob
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')).read()
setup(
name='kipartman',
version='0.6.2',
description='Kicad part manager',
# long_description='%s\n%s' %
# (re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub(
# '', read('README.rst')),
# re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))),
url='https://github.com/turdusmerula/kipartman/',
author='Sebastien Besombes',
license='GPLv3',
scripts=['kipartman/__main__.py'],
packages=find_packages('.'),
package_dir={'': '.'},
package_data={
'kipartman.resources': ['*.png'],
'kipartbase.swagger_server.swagger': ['*.yaml'],
},
# data_files=[('kipartman.resources' , glob('kipartman/resources/*.png')),],
# data_files=[('images' , glob('kipartman/resources/*.png')),],
# py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
entry_points={
'console_scripts': [
'kipartman = kipartman.__main__:main',
'kipartbase = kipartbase.__main__:main',
]
},
install_requires=[
'wxPython',
'cfscrape',
'docutils',
'asyncio',
'pathlib2',
'pycairo',
'conan',
'pyrfc3339',
# # for kipart base
'connexion',
'python_dateutil',
'django<1.12',
'django-mptt<0.9',
'watchdog',
'numpy',
'sqlalchemy',
'setuptools',
'connexion[swagger-ui]'
],
)