-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (53 loc) · 1.89 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
#!/usr/bin/env python3
import os
import sys
from distutils.core import setup
import setuptools
from projector.version import __version__
if sys.version_info < (3, 3):
print("THIS MODULE REQUIRES PYTHON 3.3+. YOU ARE CURRENTLY\
USING PYTHON {0}".format(sys.version))
sys.exit(1)
def package_files(directory):
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
EXTRA_FILES = package_files('./projector/data/')
setup(
name="Projector",
version=__version__,
# package_data={'projector': data_files},
package_data={'': EXTRA_FILES},
include_package_data=True,
author="Stanislav Arnaudov",
author_email="[email protected]",
description="Tool for easy project creation from templates.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
license="GNU General Public License v3.0",
keywords="projects management generator",
url="https://github.com/palikar/projector",
setup_requires=["pytest-runner", "pystache"],
tests_require=["pytest"],
entry_points={
'console_scripts': [
'projector = projector.create_project:main'
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Installation/Setup"
],
)