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

Subscribers

People subscribed via source and target branches

to all changes: