Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberZHG committed Jan 31, 2019
1 parent de2a67a commit 9cb5c25
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include README.md
include requirements.txt
5 changes: 1 addition & 4 deletions publish.sh
@@ -1,5 +1,2 @@
#!/usr/bin/env bash
rm -f README.rst && m2r README.md
rm -f dist/*
python3 setup.py sdist
twine upload dist/*
rm -f dist/* && python3 setup.py sdist && twine upload dist/*
1 change: 0 additions & 1 deletion requirements-dev.txt
@@ -1,3 +1,2 @@
coverage
m2r
twine
24 changes: 16 additions & 8 deletions setup.py
@@ -1,19 +1,27 @@
from setuptools import setup
import codecs
from setuptools import setup, find_packages


with codecs.open('README.md', 'r', 'utf8') as reader:
long_description = reader.read()


with codecs.open('requirements.txt', 'r', 'utf8') as reader:
install_requires = list(map(lambda x: x.strip(), reader.readlines()))


setup(
name='keras-bi-lm',
version='0.21.0',
packages=['keras_bi_lm'],
version='0.22.0',
packages=find_packages(),
url='https://github.com/CyberZHG/keras-bi-lm',
license='MIT',
author='CyberZHG',
author_email='CyberZHG@gmail.com',
description='Train the Bi-LM model and use it as a feature extraction method',
long_description=open('README.rst', 'r').read(),
install_requires=[
'numpy',
'keras',
],
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=install_requires,
classifiers=(
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 3.7",
Expand Down

0 comments on commit 9cb5c25

Please sign in to comment.