Commits

Takafumi Arakaki  committed a62bc16

added setup.py

  • Participants
  • Parent commits 40225bd
  • Tags v0.1

Comments (0)

Files changed (4)

-build/*.dmy
+syntax: glob
+build/
+dist/
+*.egg-info/
-RailGun --- Accelerate your simulation programing with "C on Rails"
-===================================================================
+RailGun: Accelerate your simulation programing with "C on Rails"
+================================================================
 
-..
 
-  Installation
-  ------------
-  ::
+Installation
+------------
+::
 
-      easy_install railgun  # using setuptools
-      pip install railgun   # using pip
+    easy_install railgun  # using setuptools
+    pip install railgun   # using pip
 
 
 Usage
 
 License
 -------
-See LICENSE
+See LICENSE.

File railgun/__init__.py

+__author__  = "Takafumi Arakaki (aka.tkf@gmail.com)"
+__version__ = "0.1"
+__license__ = "MIT License"
+
 import os
 from railgun.simobj import SimObject
 
+
 def relpath(path, fpath):
     """Get path from python module by (getpath('ext/...', __file__))"""
     return os.path.join(os.path.dirname(fpath), path)
+from setuptools import setup
+from railgun import __author__, __version__, __license__
+
+setup(
+    name='railgun',
+    version=__version__,
+    packages=['railgun'],
+    description=('ctypes utilities for faster and easier '
+                 'simulation programming in C and Python'),
+    long_description=open('README.rst').read(),
+    author=__author__,
+    author_email='aka.tkf@gmail.com',
+    url='http://bitbucket.org/tkf/railgun/src',
+    keywords='numerical simulation, research, ctypes, numpy, c',
+    license=__license__,
+    classifiers=[
+        "Development Status :: 3 - Alpha",
+        "Intended Audience :: Science/Research",
+        "Intended Audience :: Developers",
+        "Operating System :: POSIX :: Linux",
+        "License :: OSI Approved :: MIT License",
+        "Programming Language :: Python",
+
+        "Topic :: Scientific/Engineering",
+        ],
+    )