-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
57 lines (52 loc) · 1.88 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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Keep version string only in one place to avoid duplication
# Read the string from code without importing to avoid problems at setup
with open(path.join('pyno', '__init__.py')) as init:
for l in init.readlines():
if l.startswith('__version__'):
version = l.split('=')[1].strip(" '\r\n")
setup(
name='Pyno',
# TODO: "pyno" already exists on PyPI, maybe rename?
version=version,
license='MIT',
description='Python-based data-flow visual programming',
long_description=long_description,
long_description_content_type='text/markdown', # Optional (see note above)
url='https://github.com/honix/Pyno',
author='Fyodor Shchukin',
author_email='[email protected]',
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages(exclude=['docs', 'tests']),
install_requires=['pyglet', 'pyperclip'],
extras_require={
'test': ['pytest'],
},
package_data={
'pyno': ['imgs/*.png', 'examples/*.pn'],
},
entry_points={
'console_scripts': [
'pyno=pyno.runner:run',
],
},
)