Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cherise215 committed Jul 28, 2021
1 parent 6167343 commit 089ef38
Show file tree
Hide file tree
Showing 25 changed files with 73 additions and 118 deletions.
17 changes: 13 additions & 4 deletions advchain.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
Metadata-Version: 2.1
Name: advchain
Version: 0.18
Summary: adversarial data augmentation with chained transformations
Version: 0.19.7
Summary: adversarial data augmentation with chained transformations
Home-page: https://github.com/cherise215/advchain
Author: Chen (Cherise) Chen
Author-email: [email protected]
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/cherise215/advchain/issues
Keywords: advchain
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: plot
License-File: LICENSE

# Adversarial Data Augmentation with Chained Transformations (AdvChain)
Expand Down
10 changes: 10 additions & 0 deletions advchain.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
LICENSE
README.md
pyproject.toml
setup.cfg
setup.py
advchain.egg-info/PKG-INFO
advchain.egg-info/SOURCES.txt
advchain.egg-info/dependency_links.txt
advchain.egg-info/requires.txt
advchain.egg-info/top_level.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ torch>=1.6
numpy
SimpleITK
scikit-image

[plot]
matplotlib
4 changes: 1 addition & 3 deletions advchain.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
augmentor
common
models

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

import logging

import torch
import torch.nn.functional as F
import math
import matplotlib.pyplot as plt
from advchain.augmentor.adv_transformation_base import AdvTransformBase

import matplotlib.pyplot as plt
import math
import torch.nn.functional as F
import torch
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 41 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,64 @@
from distutils.core import setup
from setuptools import setup, find_packages
import pathlib

here = pathlib.Path(__file__).parent.resolve()

# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')

# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.


with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name="advchain",
version="0.19.2",
version="0.19.7",
author="Chen (Cherise) Chen",
author_email="[email protected]",
description="adversarial data augmentation with chained transformations",
description="adversarial data augmentation with chained transformations",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cherise215/advchain",
project_urls={
"Bug Tracker": "https://github.com/cherise215/advchain/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',

# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',

# Pick your license as you wish
'License :: OSI Approved :: MIT License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by 'pip install'. See instead 'python_requires' below.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
],
install_requires=[ # I get to this in a second
'torch>=1.6',
'numpy',
'SimpleITK',
'scikit-image',
],
package_dir={"": "src"},
packages=find_packages(where="advchain"),
extras_require={
'plot': ['matplotlib'],
},
python_requires=">=3.6",
keywords='advchain',
packages=find_packages(include=['advchain', 'advchain.*']),
)
84 changes: 0 additions & 84 deletions src/advchain.egg-info/PKG-INFO

This file was deleted.

9 changes: 0 additions & 9 deletions src/advchain.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/advchain.egg-info/dependency_links.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/advchain.egg-info/top_level.txt

This file was deleted.

0 comments on commit 089ef38

Please sign in to comment.