-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·52 lines (47 loc) · 1.7 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
import os
from setuptools import setup, find_packages
import fnmatch
def read(filename):
with open(os.path.join(os.path.dirname(__file__), filename), 'r') as f:
return f.read()
long_description = "{}\n\n{}".format(read("README.rst"),
read("CONTRIBUTORS.rst"))
package_data_files = []
for root, dirnames, filenames in os.walk('signals'):
for filename in fnmatch.filter(filenames, '*.j2'):
# Remove leading 'signals/' from root, as 'signals/' gets prepended during setup
package_data_files.append(os.path.join(root.split('/', 1)[1], filename))
setup(
name="yak-signals",
packages=find_packages(exclude=["tests*"]),
package_data={'signals': package_data_files},
version="0.2.8",
description="A tool for auto generating libraries for different platforms to communicate with your API",
long_description=long_description,
url="https://github.com/yeti/signals/",
license="MIT",
author="Rudy Mutter",
author_email="[email protected]",
install_requires=[
"click>=4.0",
"lxml>=3.4",
"Jinja2>=2.7.3"
],
entry_points={
"console_scripts": [
"signals=signals.main:main"
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
]
)