-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·45 lines (38 loc) · 1.25 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
import os
import sys
from setuptools import setup, find_packages
def read(fname):
try:
with open(os.path.join(os.path.dirname(__file__), fname)) as fh:
return fh.read()
except IOError:
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,
)