Florian Schlachter avatar Florian Schlachter committed b7f2c11

Ready for packaging.

Comments (0)

Files changed (7)

 /.pydevproject
 *.pyc
 /.settings/org.eclipse.core.resources.prefs
+build/
+dist/
+*.egg-info
+Core developer
+==============
+
+Florian Schlachter <flori@n-schlachter.de>
+Current development version
+===========================
+
+ - initial work
+include LICENSE
+include AUTHORS
+include CHANGES
+include README.md
+include requirements.txt
+#recursive-include docs *.txt *.html *.rst *.bat
+#recursive-exclude docs/_build *.*

pyrpc/__init__.py

 # -*- coding: utf-8 -*-
 
-from rpc import *
+from rpc import *
+
+__author__ = 'Florian Schlachter'
+
+VERSION = (0, 0, 1)
+
+def get_version():
+    version = '%s.%s' % (VERSION[0], VERSION[1])
+    if VERSION[2]:
+        version = '%s.%s' % (version, VERSION[2])
+    return version
+
+__version__ = get_version()

Empty file added.

+#!/usr/bin/env python
+
+from setuptools import setup, find_packages
+
+setup(
+    name='pyrpc',
+    version='0.0.1',
+    description='',
+    long_description=open('README.md').read(),
+    author='Florian Schlachter',
+    author_email='flori@n-schlachter.de',
+    url='https://bitbucket.org/flosch/pyrpc',
+    packages=find_packages(),
+    classifiers=[
+        'Development Status :: 3 - Alpha',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: MIT License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python'
+    ],
+    zip_safe=True,
+    test_suite='tests',
+    install_requires=open("requirements.txt", "r").read().split()
+)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.