Merge lp:~zomux/twistedchecker/add-setup into lp:~zomux/twistedchecker/trunk

Proposed by raphael shu
Status: Needs review
Proposed branch: lp:~zomux/twistedchecker/add-setup
Merge into: lp:~zomux/twistedchecker/trunk
Diff against target: 54 lines (+50/-0)
1 file modified
setup.py (+50/-0)
To merge this branch: bzr merge lp:~zomux/twistedchecker/add-setup
Reviewer Review Type Date Requested Status
Jonathan Lange (community) Approve
raphael shu Pending
Review via email: mp+141027@code.launchpad.net

Description of the change

Release twistedchecker.

Also submit it to pypi, make it easier to install.

To post a comment you must log in.
Revision history for this message
Jonathan Lange (jml) wrote :

Please change the 'packages' list to look like:

  packages=[
      'twistedchecker',
      'twistedchecker.configuration',
      ...,
      ],

i.e.
 * one package per line
 * alphabetically sorted
 * indented happily

And then feel free to merge.

Thanks!
jml

review: Approve

Unmerged revisions

30. By raphael shu

created setup.py

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'setup.py'
2--- setup.py 1970-01-01 00:00:00 +0000
3+++ setup.py 2012-12-21 03:54:21 +0000
4@@ -0,0 +1,50 @@
5+#!/usr/bin/env python
6+
7+# Copyright (c) Twisted Matrix Laboratories.
8+# See LICENSE for details.
9+
10+"""
11+Distutils installer for TwistedChecker.
12+"""
13+
14+try:
15+ from setuptools import setup
16+except ImportError:
17+ pass
18+
19+import sys, os
20+
21+
22+def main(args):
23+ """
24+ Install TwistedChecker.
25+ """
26+ setup(
27+ name='TwistedChecker',
28+ version='0.1.0',
29+ author='Raphael Shu',
30+ author_email='raphael@uaca.com',
31+ packages=['twistedchecker', 'twistedchecker.configuration',
32+ 'twistedchecker.functionaltests', 'twistedchecker.test',
33+ 'twistedchecker.checkers', 'twistedchecker.core',
34+ 'twistedchecker.reporters'],
35+ data_files=[('twistedchecker/configuration', ['twistedchecker/configuration/pylintrc'])],
36+ scripts=['bin/twistedchecker'],
37+ url='http://pypi.python.org/pypi/TwistedChecker/',
38+ license='LICENSE',
39+ description='A code checker for Twisted.',
40+ long_description=open('README').read(),
41+ install_requires=[
42+ "pylint >= 0.25.1",
43+ "pep8 >= 1.3.3",
44+ "logilab-astng >= 0.23.1"
45+ ],
46+ )
47+
48+
49+if __name__ == "__main__":
50+ try:
51+ main(sys.argv[1:])
52+ except KeyboardInterrupt:
53+ sys.exit(1)
54+

Subscribers

People subscribed via source and target branches

to all changes: