setup: cleanup
authorSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 23 Sep 2015 01:52:12 +0000 (09:52 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 23 Sep 2015 01:52:12 +0000 (09:52 +0800)
setup.py

index 52fd0aa59dd79b01db1829d58e5db9cd6085f674..e73cf8cab9baa52daf0b773273375a50d6c1b971 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,9 @@
 #!/usr/bin/env python3
 
 import sys
-import os
 from setuptools import setup
 from setuptools import find_packages
 
-here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, "README")).read()
 
 required_version = (3, 3)
 if sys.version_info < required_version:
@@ -15,14 +12,14 @@ if sys.version_info < required_version:
 
 setup(
     name="misoc",
-    version="unknown",
+    version="1.0",
     description="a high performance and small footprint SoC based on Migen",
-    long_description=README,
+    long_description=open("README.rst").read(),
     author="Sebastien Bourdeauducq",
     author_email="sb@m-labs.hk",
     url="http://m-labs.hk",
     download_url="https://github.com/m-labs/misoc",
-    packages=find_packages(here),
+    packages=find_packages(),
     license="BSD",
     platforms=["Any"],
     keywords="HDL ASIC FPGA hardware design",