- Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
executable file
·45 lines (38 loc) · 1.25 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·45 lines (38 loc) · 1.25 KB
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
importos
importsys
fromsetuptoolsimportsetup, find_packages
defread(fname):
try:
withopen(os.path.join(os.path.dirname(__file__), fname)) asfh:
returnfh.read()
exceptIOError:
return''
requirements=read('REQUIREMENTS').splitlines()
tests_requirements=read('TEST-REQUIREMENTS').splitlines()
packages=find_packages(exclude=['tests'])
# Avoid byte-compiling the shipped template
sys.dont_write_bytecode=True
setup(
name="python-packager",
version="0.0.9",
description="A command-line tool to create Python Packages.",
long_description=read('README.rst'),
url='https://github.com/fcurella/python-packager',
license='MIT',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
packages=packages,
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['bin/pypackager'],
install_requires=requirements,
tests_require=tests_requirements,
)