Commits

Panagiotis Mavrogiorgos committed aa31639

Add setup.py and README.rst

Comments (0)

Files changed (3)

Empty file added.

csvmodels/__init__.py

 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
+"""
+A Django-like declarative framework for csv files.
+"""
+
+# package information
+__major__ = 0  # for major interface/format changes
+__minor__ = 1  # for minor interface/format changes
+__release__ = 0  # for tweaks, bug-fixes, or development
+__version__ = '%d.%d.%d' % (__major__, __minor__, __release__)
+
+__author__ = "Panagiotis Mavrogiorgos"
+__license__ = "BSD 3-Clause"
+__author_email__ = "pmav99@gmail.com"
+__url__ = "https://bitbucket.org/pmav99/csvmodels"
+__download_url__ = "https://bitbucket.org/pmav99/csvmodels/downloads"
+
 
 from csvmodels.columns import *
 from csvmodels.base import *
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+from distutils.core import setup
+import csvmodels
+
+
+def read_file(filename):
+    """ Return the text of the given filename. """
+    with open(filename, "r") as f:
+        text = f.read()
+    return text
+
+
+setup(
+    name = "csvmodels",
+    packages = ["csvmodels"],
+    version = csvmodels.__version__,
+    description = csvmodels.__doc__,
+    author = csvmodels.__author__,
+    author_email = csvmodels.__author_email__,
+    license = csvmodels.__license__,
+    url = csvmodels.__url__,
+    download_url = csvmodels.__download_url__,
+    keywords = ["convert", "csv", "format", "extension", "audio", "video",
+                "csv", "document"],
+    classifiers = [
+        "Programming Language :: Python",
+        "License :: OSI Approved :: BSD License",
+        "Operating System :: MacOS",
+        "Operating System :: POSIX",
+        "Operating System :: Microsoft :: Windows",
+        "Development Status :: 4 - Beta",
+        "Environment :: Console",
+        "Natural Language :: English",
+        "Intended Audience :: Developers",
+        "Topic :: Office/Business",
+        "Topic :: Scientific/Engineering",
+        "Topic :: Software Development"
+        "Topic :: Software Development :: Libraries :: Python Modules",
+        "Topic :: Utilities"],
+    long_description = read_file("./README.rst")
+)
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.