Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ginfung committed Jan 14, 2017
1 parent 5e477e9 commit 72b095e
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 48 deletions.
1 change: 1 addition & 0 deletions lace/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ def cli():

if __name__ == '__main__':
cli()

130 changes: 82 additions & 48 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,79 @@
"""A setuptools based setup module for LACE"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# """A setuptools based setup module for LACE"""
# #!/usr/bin/env python
# # -*- coding: utf-8 -*-

# from codecs import open
# from os import path
# from setuptools import setup, find_packages

# import versioneer, sys

# here = path.abspath(path.dirname(__file__))

# with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
# readme = readme_file.read()

# with open(path.join(here, 'HISTORY.rst'), encoding='utf-8') as history_file:
# history = history_file.read().replace('.. :changelog:', '')

# requirements = [
# 'click',
# 'numpy'
# ]

# test_requirements = [
# ]

# # The source dist comes with batteries included, the wheel can use pip to get the rest
# is_wheel = 'bdist_wheel' in sys.argv

# excluded = []
# if is_wheel:
# excluded.append('extlibs.future')


# setup(
# name='lace',
# # version=versioneer.get_version(),
# # cmdclass=versioneer.get_cmdclass(),
# version = '1.0.1',

# description=" Lace-scale Assurance of Confidentiality Environment",
# long_description=readme + '\n\n' + history,
# author="Jianfeng Chen",
# author_email='jchen37@ncsu.edu',
# url='https://github.com/ginfung/LACE',

# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# entry_points={
# 'console_scripts':[
# 'LACE=lace.cli:',
# ],
# },
# # scripts=['lace/'],
# # include_package_data=True,
# install_requires=requirements,
# license="MIT",
# classifiers=[
# 'Development Status :: 4 - Beta',
# 'Topic :: Database',
# 'Intended Audience :: Developers',
# 'License :: OSI Approved :: MIT License',
# 'Natural Language :: English',
# "Programming Language :: Python :: 2",
# 'Programming Language :: Python :: 2.7',
# ],
# test_suite='tests',
# tests_require=test_requirements,
# )

from distutils.core import setup
from codecs import open
from os import path
from setuptools import setup, find_packages

import versioneer, sys

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()

with open(path.join(here, 'HISTORY.rst'), encoding='utf-8') as history_file:
history = history_file.read().replace('.. :changelog:', '')

Expand All @@ -21,48 +82,21 @@
'numpy'
]

test_requirements = [
]
setup(
name = 'lace',
version = '1.0.1',

# The source dist comes with batteries included, the wheel can use pip to get the rest
is_wheel = 'bdist_wheel' in sys.argv
author = 'Jianfeng Chen',
author_email = 'jchen37@ncsu.edu',
url = 'https://github.com/ginfung/lace',

excluded = []
if is_wheel:
excluded.append('extlibs.future')
description = 'Lace-scale Assurance of Confidentiality Environment Framework',
long_description=readme + '\n\n' + history,

packages = ['lace'],
include_package_data = True,

setup(
name='lace',
# version=versioneer.get_version(),
# cmdclass=versioneer.get_cmdclass(),
version = '1.0.1',
license= 'MIT',

description=" Lace-scale Assurance of Confidentiality Environment",
long_description=readme + '\n\n' + history,
author="Jianfeng Chen",
author_email='jchen37@ncsu.edu',
url='https://github.com/ginfung/LACE',

packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# entry_points={
# 'console_scripts':[
# 'LACE=lace.cli:cli',
# ],
# },
scripts=['lace/'],
# include_package_data=True,
install_requires=requirements,
license="MIT",
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Database',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite='tests',
tests_require=test_requirements,
)
install_requires = requirements
)

0 comments on commit 72b095e

Please sign in to comment.